NetBSD/sys/kern
jdolecek 3d8c9e20d7 convert the (still disabled) 'direct write' for pipes to use the
experimental PMAP_DIRECT if available; the direct code paths now survive
longer than the pmap_enter() variant, but still triggers panic during
build.sh tools run; remove some obsolete sysctls

add some XXXs to mark places which need attention to make this more stable

Note: the loan case is now actually significantly slower than the
non-loan case on MP systems, due to synchronous IPIs triggered by
marking the page read-only by uvm_loan(); this is being discussed
in the email thread
https://mail-index.netbsd.org/tech-kern/2018/05/21/msg023441.html

that is basically the same issue due to which loaning was disabled
for sosend()
2018-06-10 17:54:51 +00:00
..
bufq_disksort.c
bufq_fcfs.c
bufq_priocscan.c
bufq_readprio.c
cnmagic.c
core_elf32.c CID-1427760: While overrun can't happen, make it obvious that it can't 2018-01-21 17:22:55 +00:00
core_elf64.c
core_netbsd.c
exec_aout.c
exec_ecoff.c
exec_elf32.c
exec_elf64.c
exec_elf.c ignore the ancient NetBSD emulation tag. 2018-04-12 20:49:08 +00:00
exec_script.c Canonicalize the interpreter path in #! scripts since check_exec() expects 2018-04-27 18:33:24 +00:00
exec_subr.c
files.kern compat_util.c must be compiled by default in the kernel. It is needed by 2017-12-16 10:15:12 +00:00
genlintstub.awk
init_main.c Remove the rnewprocp argument from fork1(9) 2018-04-16 14:51:59 +00:00
init_sysctl_base.c
init_sysctl.c Add a proper defflag for GPROF, and include opt_gprof.h, otherwise we're 2018-02-04 17:31:51 +00:00
init_sysent.c Revert vadvise(2) removal 2018-01-06 16:41:23 +00:00
kern_acct.c
kern_auth.c
kern_cctr.c
kern_cfglock.c
kern_clock.c Add a proper defflag for GPROF, and include opt_gprof.h, otherwise we're 2018-02-04 17:31:51 +00:00
kern_condvar.c Apply C99-style struct initialization to syncobj_t 2018-01-30 07:52:22 +00:00
kern_core.c
kern_cpu.c finish MD glue for compat ucode module. 2018-03-18 00:51:45 +00:00
kern_ctf.c merge a new version of the CDDL dtrace and ZFS code. 2018-05-28 21:04:59 +00:00
kern_descrip.c
kern_drvctl.c
kern_event.c Set EV_ONESHOT to prevent rescheduling 2018-01-12 17:58:51 +00:00
kern_exec.c Correct reporting SIGTRAP TRAP_EXEC when SIGTRAP is masked 2018-05-28 11:32:20 +00:00
kern_exit.c Load the struct rusage text, data, and stack fields from the vmspace struct. 2018-05-07 21:03:45 +00:00
kern_fileassoc.c
kern_fork.c Implement PTRACE_VFORK 2018-05-01 16:37:23 +00:00
kern_history.c
kern_hook.c
kern_idle.c
kern_ksyms_buf.c
kern_ksyms.c
kern_kthread.c KASSERT() that kthread_join()'s target is expecting to be joined. 2018-01-09 22:58:45 +00:00
kern_ktrace_vfs.c
kern_ktrace.c
kern_lock.c Apply C99-style struct initialization to lockops_t 2017-12-25 09:13:40 +00:00
kern_lwp.c PR/kern/53202: Kernel hangs running t_ptrace_wait:resume1 test, revert 2018-04-23 15:51:00 +00:00
kern_malloc.c
kern_module_vfs.c
kern_module.c add more accessor functions for various struct module fields. 2018-05-28 21:04:40 +00:00
kern_mutex_obj.c Obtain proper initialized addresses of locks allocated by mutex_obj_alloc or rw_obj_alloc 2018-02-05 04:25:04 +00:00
kern_mutex.c add defines to control whether or not mutex operations are skipped 2018-02-25 18:54:29 +00:00
kern_ntptime.c
kern_pax.c
kern_physio.c
kern_pmf.c expose pmf debug switches with sysctl. 2018-04-08 11:46:13 +00:00
kern_proc.c Don't set errno ESRCH for empty result of KINFO_PROC[2] 2018-04-14 14:26:20 +00:00
kern_prot.c
kern_ras.c
kern_rate.c
kern_resource.c correct the function name. 2018-05-13 14:45:23 +00:00
kern_rndpool.c
kern_rndq.c
kern_rndsink.c
kern_runq.c
kern_rwlock_obj.c Obtain proper initialized addresses of locks allocated by mutex_obj_alloc or rw_obj_alloc 2018-02-05 04:25:04 +00:00
kern_rwlock.c Obtain proper initialized addresses of locks allocated by mutex_obj_alloc or rw_obj_alloc 2018-02-05 04:25:04 +00:00
kern_sdt.c
kern_sig.c Revert previous 2018-05-28 14:07:37 +00:00
kern_sleepq.c
kern_softint.c Prevent panic or hangup in softint_disestablish(), pserialize_perform() or 2017-12-28 03:39:48 +00:00
kern_ssp.c
kern_stub.c let the modular code load the sysv modules. 2018-04-12 20:43:44 +00:00
kern_subr.c
kern_synch.c Remove emap support. Unfortunately it never got to state where it would be 2018-05-19 11:39:37 +00:00
kern_syscall.c
kern_sysctl.c remove useless KASSERT. 2018-01-27 00:00:26 +00:00
kern_tc.c Put time_second and time_uptime in different cache lines, probably saves 2018-02-13 09:26:17 +00:00
kern_time.c
kern_timeout.c Sanity-check if interlock is held when it's passed 2018-01-16 08:15:29 +00:00
kern_todr.c
kern_turnstile.c
kern_uidinfo.c
kern_uuid.c
kern_veriexec.c
kern_xxx.c
kgdb_stub.c
Make.tags.inc
Makefile
makesyscalls.sh
sched_4bsd.c
sched_m2.c
subr_autoconf.c expose struct devicelist alldevs again. 2018-03-04 07:12:18 +00:00
subr_blist.c
subr_bufq.c Fix a comment. NFC 2018-01-23 22:08:55 +00:00
subr_callback.c
subr_copy.c add copyin_pid(), to copyin from a different user address space. 2018-05-28 21:04:41 +00:00
subr_cprng.c
subr_cpufreq.c
subr_debug.c
subr_device.c
subr_devsw.c
subr_disk_mbr.c CID-1427768: Off by one 2018-01-21 16:55:25 +00:00
subr_disk_open.c
subr_disk.c Fix typo in comment (s/is/if/) - NFC. 2018-03-07 21:13:24 +00:00
subr_evcnt.c
subr_exec_fd.c
subr_extent.c Don't take the mutex in extent_print if EX_EARLY 2017-12-31 09:25:19 +00:00
subr_hash.c
subr_humanize.c
subr_interrupt.c - don't return ENOMEM for errors not related to memory 2018-01-28 22:24:58 +00:00
subr_iostat.c
subr_ipi.c
subr_kcpuset.c
subr_kmem.c add strndup and an alias to strdup. 2018-01-09 01:53:55 +00:00
subr_kobj_vfs.c
subr_kobj.c
subr_localcount.c
subr_lockdebug.c ddb: rename "show lockstat" to "show lockstats" to avoid conflicting with lockstat(8) 2018-03-19 08:41:21 +00:00
subr_log.c Move the add char portion to its own function. 2018-04-01 19:01:08 +00:00
subr_lwp_specificdata.c
subr_once.c
subr_optstr.c
subr_pcq.c Typos. 2018-02-08 09:05:16 +00:00
subr_pcu.c
subr_percpu.c
subr_physmap.c
subr_pool.c fix comment 2018-01-12 18:54:37 +00:00
subr_prf.c Make identification of accounted aprint_error()s possible by putting a 2018-06-03 15:26:03 +00:00
subr_prof.c Add a proper defflag for GPROF, and include opt_gprof.h, otherwise we're 2018-02-04 17:31:51 +00:00
subr_pserialize.c Function pserialize_perform() usually succeeds after two cross calls 2018-04-16 20:25:21 +00:00
subr_psref.c Use high priority xcall with a softint of an IPL the same as psref class's one 2018-02-01 03:17:00 +00:00
subr_specificdata.c
subr_spldebug.c
subr_syscall_stats.c
subr_tftproot.c Typos. 2018-02-08 09:05:16 +00:00
subr_time.c
subr_userconf.c
subr_vmem.c Typos. 2018-02-08 09:05:16 +00:00
subr_workqueue.c Check the length of a passed name to avoid slient truncation 2018-02-06 03:48:39 +00:00
subr_xcall.c Spinkle ASSERT_SLEEPABLE to xcall functions 2018-02-07 04:25:09 +00:00
sys_aio.c
sys_descrip.c Refactor pipe1() and correct a bug in sys_pipe2() (SYS_pipe2) 2017-12-26 08:30:57 +00:00
sys_generic.c
sys_lwp.c Apply C99-style struct initialization to syncobj_t 2018-01-30 07:52:22 +00:00
sys_module.c Don't return the address of the kernel modules if the user is not 2018-01-18 13:31:20 +00:00
sys_mqueue.c
sys_pipe.c convert the (still disabled) 'direct write' for pipes to use the 2018-06-10 17:54:51 +00:00
sys_pmc.c
sys_process.c
sys_pset.c
sys_ptrace_common.c Simplify comparison of two processes 2018-05-30 23:54:03 +00:00
sys_ptrace.c handle siginfo requests for ptrace32 2017-12-17 20:59:27 +00:00
sys_sched.c
sys_select.c Apply C99-style struct initialization to syncobj_t 2018-01-30 07:52:22 +00:00
sys_sig.c
sys_socket.c
sys_syscall.c
syscalls_autoload.c Revert vadvise(2) removal 2018-01-06 16:41:23 +00:00
syscalls.c Revert vadvise(2) removal 2018-01-06 16:41:23 +00:00
syscalls.conf
syscalls.master Revert vadvise(2) removal 2018-01-06 16:41:23 +00:00
systrace_args.c Revert vadvise(2) removal 2018-01-06 16:41:23 +00:00
sysv_ipc.c
sysv_msg.c correct typo: and and -> and (comments only) 2018-03-30 22:54:36 +00:00
sysv_sem.c
sysv_shm.c
tty_bsdpty.c
tty_conf.c
tty_ptm.c
tty_pty.c
tty_subr.c
tty_tty.c
tty.c correct typo: and and -> and 2018-03-30 22:59:43 +00:00
uipc_accf.c
uipc_domain.c bump PIPSIZ from 4 to 8K like FreeBSD and provide the same sysctls 2018-05-05 19:58:08 +00:00
uipc_mbuf2.c Remove references to m_copy in comments. 2018-04-29 07:13:10 +00:00
uipc_mbuf.c Copy some KASSERTs from m_move_pkthdr into m_copy_pkthdr, and reorder the 2018-05-07 09:57:37 +00:00
uipc_proto.c
uipc_sem.c don't use pathbuf here; it is intertwined with vfs and gives rump heartburn. 2018-05-06 00:46:09 +00:00
uipc_socket2.c Separate receive socket errors from general socket errors. 2018-06-06 09:46:46 +00:00
uipc_socket.c Separate receive socket errors from general socket errors. 2018-06-06 09:46:46 +00:00
uipc_syscalls.c define MBUFTYPES here. 2018-05-04 08:47:55 +00:00
uipc_usrreq.c Increase the default size of some receive buffers from 8k to 16k. 2018-05-11 09:43:59 +00:00
vfs_bio.c
vfs_cache.c
vfs_cwd.c
vfs_dirhash.c
vfs_getcwd.c
vfs_hooks.c
vfs_init.c
vfs_lockf.c
vfs_lookup.c
vfs_mount.c
vfs_quotactl.c
vfs_subr.c
vfs_syscalls.c Merge autofs support from: Tomohiro Kusumi 2018-01-09 03:31:12 +00:00
vfs_trans.c
vfs_vnode.c
vfs_vnops.c
vfs_wapbl.c
vfs_xattr.c
vnode_if.c
vnode_if.sh
vnode_if.src