freebsd-skq/sys/kern
Konstantin Belousov a9d8437c6d Enchance the shared page chunk allocator.
Do not rely on the busy state of the page from which we allocate the
chunk, to protect allocator state. Use statically allocated sx lock
instead.

Provide more flexible KPI. In particular, allow to allocate chunk
without providing initial data, and allow writes into existing
allocation. Allow to get an sf buf which temporary maps the chunk, to
allow sequential updates to shared page content without unmapping in
between.

Reviewed by:	jhb
Tested by:	flo
MFC after:	1 month
2012-06-22 06:39:28 +00:00
..
bus_if.m
capabilities.conf Add missing system calls. 2012-05-31 19:32:37 +00:00
clock_if.m
cpufreq_if.m
device_if.m
genassym.sh
imgact_aout.c
imgact_elf32.c
imgact_elf64.c
imgact_elf.c
imgact_gzip.c
imgact_shell.c
inflate.c
init_main.c Extend VERBOSE_SYSINIT to also print out the name of variables passed 2012-06-01 15:42:37 +00:00
init_sysent.c Regenerate after r236361. 2012-05-31 19:34:53 +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
kern_descrip.c Don't check for race with close on advisory unlock (there is nothing smart we 2012-06-17 21:04:22 +00:00
kern_dtrace.c
kern_environment.c
kern_et.c
kern_event.c Update comment. 2012-06-14 17:32:58 +00:00
kern_exec.c Enchance the shared page chunk allocator. 2012-06-22 06:39:28 +00:00
kern_exit.c
kern_fail.c
kern_ffclock.c
kern_fork.c The falloc() function obtains two references to newly created 'fp'. 2012-06-19 22:21:59 +00:00
kern_gzio.c
kern_hhook.c
kern_idle.c
kern_intr.c
kern_jail.c
kern_khelp.c
kern_kthread.c Stop treating td_sigmask specially for the purposes of new thread 2012-05-26 20:03:47 +00:00
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 Fix ki_cow for compat32 binaries. 2012-05-27 05:24:53 +00:00
kern_prot.c
kern_racct.c
kern_rangelock.c Add a rangelock implementation, intended to be used to range-locking 2012-05-30 16:06:38 +00:00
kern_rctl.c
kern_resource.c
kern_rmlock.c
kern_rwlock.c
kern_sdt.c
kern_sema.c
kern_shutdown.c free wdog_kern_pat calls in post-panic paths from under SW_WATCHDOG 2012-06-03 08:01:12 +00:00
kern_sig.c
kern_switch.c
kern_sx.c
kern_synch.c
kern_syscalls.c
kern_sysctl.c
kern_tc.c
kern_thr.c Stop treating td_sigmask specially for the purposes of new thread 2012-05-26 20:03:47 +00:00
kern_thread.c Add a rangelock implementation, intended to be used to range-locking 2012-05-30 16:06:38 +00:00
kern_time.c
kern_timeout.c
kern_umtx.c
kern_uuid.c
kern_xxx.c
ksched.c
link_elf_obj.c
link_elf.c
linker_if.m
Make.tags.inc
Makefile
makesyscalls.sh
md4c.c
md5c.c
p1003_1b.c
posix4_mib.c
sched_4bsd.c
sched_ule.c Let us manage differences of Book-E PowerPC variations i.e. vendor / 2012-05-27 10:25:20 +00:00
serdev_if.m
stack_protector.c
subr_acl_nfs4.c
subr_acl_posix1e.c
subr_autoconf.c
subr_blist.c
subr_bufring.c
subr_bus.c
subr_clock.c
subr_devstat.c
subr_disk.c
subr_eventhandler.c
subr_fattime.c
subr_firmware.c
subr_hash.c
subr_hints.c
subr_kdb.c
subr_kobj.c
subr_lock.c
subr_log.c
subr_mbpool.c
subr_mchain.c
subr_module.c
subr_msgbuf.c
subr_param.c
subr_pcpu.c
subr_power.c
subr_prf.c
subr_prof.c
subr_rman.c Unlock in the error path to prevent a lock leak. 2012-05-31 17:27:05 +00:00
subr_rtc.c
subr_sbuf.c
subr_scanf.c
subr_sglist.c
subr_sleepqueue.c
subr_smp.c Another fixe for r236772. 2012-06-11 18:47:26 +00:00
subr_stack.c
subr_syscall.c Assert that TDP_NOFAULTING and TDP_NOSPEEPING thread flags do not leak 2012-05-30 13:44:42 +00:00
subr_taskqueue.c
subr_trap.c Remove redundant include. 2012-06-10 20:24:01 +00:00
subr_turnstile.c
subr_uio.c
subr_unit.c
subr_witness.c
sys_capability.c Style: move opt_*.h includes in the proper place. 2012-06-10 20:22:10 +00:00
sys_generic.c The variable 'error' in sys_poll() is initialized in declaration to value 2012-06-17 13:03:50 +00:00
sys_pipe.c
sys_procdesc.c Check proper flag (PDF_DAEMON, not PD_DAEMON) when deciding if the process 2012-06-19 22:23:59 +00:00
sys_process.c
sys_socket.c
syscalls.c Regenerate system call tables. 2012-05-25 21:52:57 +00:00
syscalls.master
systrace_args.c Regenerate system call tables. 2012-05-25 21:52:57 +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 In tty_makedev() the following construction: 2012-06-18 07:34:38 +00:00
uipc_accf.c
uipc_cow.c
uipc_debug.c
uipc_domain.c
uipc_mbuf2.c
uipc_mbuf.c
uipc_mqueue.c
uipc_sem.c
uipc_shm.c
uipc_sockbuf.c
uipc_socket.c
uipc_syscalls.c Style fixes and simplifications. 2012-06-11 16:08:03 +00:00
uipc_usrreq.c When checking if file descriptor number is valid, explicitely check for 'fd' 2012-06-13 22:12:10 +00:00
vfs_acl.c
vfs_aio.c
vfs_bio.c Fix typo [1]. Use commas to separate flag printouts, in style with 2012-06-02 19:39:12 +00:00
vfs_cache.c
vfs_cluster.c
vfs_default.c When synchronously syncing a device (MNT_WAIT), wait for buffers 2012-06-09 22:26:53 +00:00
vfs_export.c
vfs_extattr.c
vfs_hash.c
vfs_init.c
vfs_lookup.c
vfs_mount.c
vfs_mountroot.c
vfs_subr.c free wdog_kern_pat calls in post-panic paths from under SW_WATCHDOG 2012-06-03 08:01:12 +00:00
vfs_syscalls.c Further refine the implementation of POSIX_FADV_NOREUSE. 2012-06-19 18:42:24 +00:00
vfs_vnops.c Fix locking for f_offset, vn_read() and vn_write() cases only, for now. 2012-06-21 09:19:41 +00:00
vnode_if.src