freebsd-nq/sys/kern
Mark Johnston 9fb7c918ef Remove manual wire_count adjustments from the unmapped mbuf code.
The original code came from a desire to minimize the number of updates
to v_wire_count, which prior to r329187 was updated using atomics.
However, there is no significant benefit to batching today, so simply
allocate pages using VM_ALLOC_WIRED and rely on system accounting.

Reviewed by:	jhb
Differential Revision:	https://reviews.freebsd.org/D21323
2019-08-21 20:01:52 +00:00
..
bus_if.m Add necessary bits for Linux KPI to work correctly on powerpc 2019-08-04 19:28:10 +00:00
capabilities.conf Enable copy_file_range(2) in capability mode. 2019-07-30 15:59:44 +00:00
clock_if.m
cpufreq_if.m
device_if.m
genassym.sh
genoffset.c
genoffset.sh
imgact_aout.c
imgact_binmisc.c
imgact_elf32.c
imgact_elf64.c
imgact_elf.c Fix mis-merge. 2019-08-05 19:19:25 +00:00
imgact_shell.c
init_main.c Update comment explaining create_init(). 2019-08-08 16:42:53 +00:00
init_sysent.c Regenerate after r350447. 2019-07-30 16:01:16 +00:00
kern_acct.c
kern_alq.c
kern_clock.c
kern_clocksource.c
kern_condvar.c
kern_conf.c
kern_cons.c
kern_context.c
kern_cpu.c
kern_cpuset.c
kern_ctf.c Convert DDB_CTF to use newer version of ZLIB. 2019-08-08 07:27:49 +00:00
kern_descrip.c Check and avoid overflow when incrementing fp->f_count in 2019-07-21 15:07:12 +00:00
kern_dtrace.c
kern_dump.c Move phys_avail definition into MI code. It is consumed in the MI layer and 2019-08-16 00:45:14 +00:00
kern_environment.c
kern_et.c
kern_event.c Avoid relying on header pollution from sys/refcount.h. 2019-07-29 20:26:01 +00:00
kern_exec.c Fix mis-merge 2019-08-05 19:16:33 +00:00
kern_exit.c exit1: fix style nits 2019-08-05 20:20:14 +00:00
kern_fail.c
kern_ffclock.c
kern_fork.c fork: rework locking around do_fork 2019-08-17 18:19:49 +00:00
kern_hhook.c
kern_idle.c
kern_intr.c
kern_jail.c
kern_kcov.c
kern_khelp.c
kern_kthread.c
kern_ktr.c
kern_ktrace.c
kern_linker.c
kern_lock.c
kern_lockf.c
kern_lockstat.c
kern_loginclass.c
kern_malloc.c
kern_mbuf.c
kern_mib.c
kern_module.c
kern_mtxpool.c
kern_mutex.c
kern_ntptime.c
kern_osd.c
kern_physio.c
kern_pmc.c
kern_poll.c
kern_priv.c
kern_proc.c
kern_procctl.c
kern_prot.c Only enable COMPAT_43 changes for syscalls ABI for a.out processes. 2019-08-11 19:16:07 +00:00
kern_racct.c
kern_rangelock.c
kern_rctl.c
kern_resource.c
kern_rmlock.c
kern_rwlock.c
kern_sdt.c
kern_sema.c
kern_sendfile.c Since r350426 this KASSERT doesn't serve any useful purpose. 2019-08-06 16:11:00 +00:00
kern_sharedpage.c
kern_shutdown.c
kern_sig.c Only enable COMPAT_43 changes for syscalls ABI for a.out processes. 2019-08-11 19:16:07 +00:00
kern_switch.c
kern_sx.c
kern_synch.c Add a blocking wait bit to refcount. This allows refs to be used as a simple 2019-08-18 11:43:58 +00:00
kern_syscalls.c
kern_sysctl.c Fix !DDB kernel configurations after r350713 2019-08-08 01:37:41 +00:00
kern_tc.c
kern_thr.c
kern_thread.c Always set td_errno to the error value of a system call. 2019-07-15 21:16:01 +00:00
kern_time.c
kern_timeout.c
kern_tslog.c
kern_ubsan.c
kern_umtx.c Make umtxq_check_susp() to correctly handle thread exit requests. 2019-08-01 14:34:27 +00:00
kern_uuid.c
kern_xxx.c
ksched.c
link_elf_obj.c Convert DDB_CTF to use newer version of ZLIB. 2019-08-08 07:27:49 +00:00
link_elf.c Convert DDB_CTF to use newer version of ZLIB. 2019-08-08 07:27:49 +00:00
linker_if.m
Make.tags.inc
Makefile
makesyscalls.sh
md4c.c
md5c.c
msi_if.m
p1003_1b.c
pic_if.m
posix4_mib.c
sched_4bsd.c
sched_ule.c Move scheduler state into the per-cpu area where it can be allocated on the 2019-08-13 04:54:02 +00:00
serdev_if.m
stack_protector.c
subr_acl_nfs4.c
subr_acl_posix1e.c
subr_autoconf.c
subr_blist.c
subr_boot.c
subr_bufring.c
subr_bus_dma.c
subr_bus.c Add necessary bits for Linux KPI to work correctly on powerpc 2019-08-04 19:28:10 +00:00
subr_busdma_bufalloc.c
subr_capability.c
subr_clock.c
subr_compressor.c
subr_counter.c
subr_coverage.c
subr_devmap.c
subr_devstat.c
subr_disk.c
subr_dummy_vdso_tc.c
subr_early.c
subr_epoch.c Fix the turnstile_lock() KPI. 2019-07-24 23:04:59 +00:00
subr_eventhandler.c
subr_fattime.c
subr_firmware.c
subr_gtaskqueue.c
subr_hash.c
subr_hints.c
subr_intr.c
subr_kdb.c
subr_kobj.c
subr_lock.c
subr_log.c
subr_mchain.c
subr_module.c
subr_msgbuf.c
subr_param.c
subr_pcpu.c
subr_pctrie.c
subr_pidctrl.c
subr_power.c
subr_prf.c
subr_prof.c
subr_rangeset.c
subr_rman.c
subr_rtc.c
subr_sbuf.c sbuf(9): Add sbuf_nl_terminate() API 2019-08-07 19:27:14 +00:00
subr_scanf.c Add support for 'j', 't' and 'z' flags to kernel sscanf(). 2019-08-16 19:46:22 +00:00
subr_sfbuf.c
subr_sglist.c
subr_sleepqueue.c
subr_smp.c
subr_stack.c
subr_syscall.c Don't pass error from syscallenter() to syscallret(). 2019-07-15 21:25:16 +00:00
subr_taskqueue.c
subr_terminal.c
subr_trap.c assert that td_lk_slocks is not leaked upon return from kernel 2019-08-19 11:18:36 +00:00
subr_turnstile.c Fix the turnstile_lock() KPI. 2019-07-24 23:04:59 +00:00
subr_uio.c
subr_unit.c
subr_vmem.c
subr_witness.c Only check the blessings table for known LORs. 2019-08-02 18:01:47 +00:00
sys_capability.c
sys_generic.c Check and avoid overflow when incrementing fp->f_count in 2019-07-21 15:07:12 +00:00
sys_getrandom.c
sys_pipe.c Modify pipe_poll() to properly check for pending direct writes. 2019-08-21 19:35:04 +00:00
sys_procdesc.c procdesc: fix the function name 2019-08-05 20:31:17 +00:00
sys_process.c process: style 2019-08-05 20:26:01 +00:00
sys_socket.c
syscalls.c Update the generated syscall files for copy_file_range(2) added by 2019-07-25 05:55:55 +00:00
syscalls.master Add kernel support for a Linux compatible copy_file_range(2) syscall. 2019-07-25 05:46:16 +00:00
systrace_args.c Update the generated syscall files for copy_file_range(2) added by 2019-07-25 05:55:55 +00:00
sysv_ipc.c
sysv_msg.c
sysv_sem.c
sysv_shm.c
tty_compat.c
tty_info.c
tty_inq.c
tty_outq.c
tty_pts.c
tty_tty.c
tty_ttydisc.c
tty.c
uipc_accf.c
uipc_debug.c
uipc_domain.c
uipc_mbuf2.c In m_pulldown(), before trying to prepend bytes to the subsequent mbuf, 2019-08-09 05:18:59 +00:00
uipc_mbuf.c Remove manual wire_count adjustments from the unmapped mbuf code. 2019-08-21 20:01:52 +00:00
uipc_mbufhash.c
uipc_mqueue.c mqueuefs: fix compat32 struct file leak 2019-08-20 17:44:03 +00:00
uipc_sem.c
uipc_shm.c kern_shm_open: push O_CLOEXEC into caller control 2019-07-31 15:16:51 +00:00
uipc_sockbuf.c
uipc_socket.c Use TAILQ_FOREACH_SAFE() macro to avoid use after free in soclose(). 2019-08-19 12:42:03 +00:00
uipc_syscalls.c Only enable COMPAT_43 changes for syscalls ABI for a.out processes. 2019-08-11 19:16:07 +00:00
uipc_usrreq.c Check and avoid overflow when incrementing fp->f_count in 2019-07-21 15:07:12 +00:00
vfs_acl.c
vfs_aio.c
vfs_bio.c Centralize the logic in vfs_vmio_unwire() and sendfile_free_page(). 2019-07-29 22:01:28 +00:00
vfs_cache.c [skip ci] Fix the comment for cache_purge(9) 2019-07-22 21:03:52 +00:00
vfs_cluster.c Use an atomic reference count for paging in progress so that callers do not 2019-08-19 23:09:38 +00:00
vfs_default.c Add a vop_stdioctl() that performs a trivial FIOSEEKDATA/FIOSEEKHOLE. 2019-08-19 00:29:05 +00:00
vfs_export.c
vfs_extattr.c
vfs_hash.c
vfs_init.c
vfs_lookup.c
vfs_mount.c vfs: fix up r351193 ("stop always overwriting ->mnt_stat in VFS_STATFS") 2019-08-19 14:11:54 +00:00
vfs_mountroot.c
vfs_subr.c Use an atomic reference count for paging in progress so that callers do not 2019-08-19 23:09:38 +00:00
vfs_syscalls.c vfs: stop always overwriting ->mnt_stat in VFS_STATFS 2019-08-18 18:40:12 +00:00
vfs_vnops.c Fix copy_file_range(2) so that unneeded blocks are not allocated to the output file. 2019-08-15 23:21:41 +00:00
vnode_if.src Change locking requirements for VOP_UNSET_TEXT(). 2019-08-18 20:24:52 +00:00