freebsd-nq/sys/kern
Konstantin Belousov b5449c92b4 Use atomic_interrupt_fence() instead of bare __compiler_membar()
for the which which definitely use membar to sync with interrupt handlers.

libc and rtld uses of __compiler_membar() seems to want compiler barriers
proper.

The barrier in sched_unpin_lite() after td_pinned decrement seems to be not
needed and removed, instead of convertion.

Reviewed by:	markj
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D28956
2021-02-28 01:27:29 +02:00
..
bus_if.m
capabilities.conf
clock_if.m
cpufreq_if.m
device_if.m
firmw.S
genassym.sh
genoffset.c
genoffset.sh
imgact_aout.c
imgact_binmisc.c
imgact_elf32.c
imgact_elf64.c
imgact_elf.c Fix divide-by-zero panic when ASLR is enabled and superpages disabled 2021-02-15 10:38:04 -08:00
imgact_shell.c
init_main.c Use atomic loads/stores when updating td->td_state 2021-02-18 14:02:48 +00:00
init_sysent.c Reserve gaps in syscall numbers for local use 2021-01-26 18:27:45 +00:00
kern_acct.c
kern_alq.c
kern_clock.c
kern_clocksource.c
kern_condvar.c
kern_conf.c Giant: move back Giant removal until 14 2021-02-17 14:33:09 -07:00
kern_cons.c
kern_context.c
kern_cpu.c
kern_cpuset.c
kern_ctf.c
kern_descrip.c close_range: add audit support 2021-02-23 17:47:07 +00:00
kern_dtrace.c
kern_dump.c
kern_environment.c
kern_et.c
kern_event.c Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
kern_exec.c exec_new_vmspace: print useful error message on ctty if stack cannot be mapped. 2021-01-12 01:15:43 +02:00
kern_exit.c
kern_fail.c
kern_ffclock.c
kern_fork.c jail: Handle a possible race between jail_remove(2) and fork(2) 2021-02-16 11:19:13 -08:00
kern_hhook.c
kern_idle.c
kern_intr.c Use atomic loads/stores when updating td->td_state 2021-02-18 14:02:48 +00:00
kern_jail.c jail: Add safety around prison_deref() flags. 2021-02-25 20:10:42 -08:00
kern_kcov.c
kern_khelp.c
kern_kthread.c
kern_ktr.c
kern_ktrace.c
kern_linker.c
kern_lock.c lockmgr: shrink struct lock by 8 bytes on LP64 2021-02-15 13:57:25 +00:00
kern_lockf.c
kern_lockstat.c
kern_loginclass.c
kern_malloc.c malloc_aligned: roundup allocation size up to next power of two 2021-01-21 23:34:10 +02:00
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 Close races in vm object chain traversal for unlock 2021-02-25 12:11:19 -08:00
kern_procctl.c
kern_prot.c Use atomic loads/stores when updating td->td_state 2021-02-18 14:02:48 +00:00
kern_racct.c Use atomic loads/stores when updating td->td_state 2021-02-18 14:02:48 +00:00
kern_rangelock.c
kern_rctl.c rctl(4): support throttling resource usage to 0 2021-01-11 15:36:57 -08:00
kern_resource.c vm_map_protect: allow to set prot and max_prot in one go. 2021-01-13 01:35:22 +02:00
kern_rmlock.c Use atomic_interrupt_fence() instead of bare __compiler_membar() 2021-02-28 01:27:29 +02:00
kern_rwlock.c
kern_sdt.c
kern_sema.c
kern_sendfile.c sendfile: Use the pager size to determine the file extent when possible 2021-02-25 10:04:44 -05:00
kern_sharedpage.c
kern_shutdown.c
kern_sig.c sigfastblock_setpend(): do not set PEND user flag unless TDP_SIGFASTPENDING is set. 2021-01-12 12:43:34 +02:00
kern_switch.c
kern_sx.c
kern_synch.c Use atomic loads/stores when updating td->td_state 2021-02-18 14:02:48 +00:00
kern_syscalls.c
kern_sysctl.c
kern_tc.c Add ddb 'show timecounter' command. 2021-01-18 09:51:48 +02:00
kern_thr.c
kern_thread.c Use atomic loads/stores when updating td->td_state 2021-02-18 14:02:48 +00:00
kern_time.c
kern_timeout.c
kern_tslog.c
kern_ubsan.c
kern_umtx.c
kern_uuid.c
kern_xxx.c
ksched.c
link_elf_obj.c vm_map_protect: allow to set prot and max_prot in one go. 2021-01-13 01:35:22 +02:00
link_elf.c vm_map_protect: allow to set prot and max_prot in one go. 2021-01-13 01:35:22 +02: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 Use atomic loads/stores when updating td->td_state 2021-02-18 14:02:48 +00:00
sched_ule.c
serdev_if.m
stack_protector.c
subr_acl_nfs4.c
subr_acl_posix1e.c
subr_atomic64.c
subr_autoconf.c
subr_blist.c
subr_boot.c
subr_bufring.c
subr_bus_dma.c
subr_bus.c devinfo sysctl handler: Do not write zero-length strings in to sbuf twice 2021-01-21 02:06:16 +03:00
subr_busdma_bufalloc.c
subr_capability.c
subr_clock.c
subr_compressor.c
subr_counter.c
subr_coverage.c
subr_csan.c
subr_devmap.c ddb: fix show devmap output on 32-bit arm 2021-02-18 11:53:14 -04:00
subr_devstat.c
subr_disk.c
subr_dummy_vdso_tc.c
subr_early.c
subr_epoch.c
subr_eventhandler.c
subr_fattime.c
subr_filter.c
subr_firmware.c firmware(9): extend firmware_get() by a "no warn" flag. 2021-01-27 13:51:26 +00:00
subr_gtaskqueue.c
subr_hash.c
subr_hints.c
subr_intr.c make maximum interrupt number tunable on ARM, ARM64, MIPS, and RISC-V 2021-01-18 16:36:39 -08:00
subr_kdb.c
subr_kobj.c
subr_lock.c Modify lock_delay() to increase the delay time after spinning 2021-02-25 18:55:26 +00:00
subr_log.c
subr_mchain.c
subr_module.c
subr_msgbuf.c
subr_param.c
subr_pcpu.c
subr_pctrie.c
subr_physmem.c
subr_pidctrl.c
subr_power.c
subr_prf.c kvprintf(9): add missing FALLTHROUGH 2021-01-22 00:18:40 +01:00
subr_prng.c
subr_prof.c
subr_rangeset.c
subr_rman.c
subr_rtc.c
subr_sbuf.c
subr_scanf.c
subr_sfbuf.c
subr_sglist.c
subr_sleepqueue.c
subr_smp.c
subr_smr.c
subr_stack.c
subr_stats.c
subr_syscall.c
subr_taskqueue.c
subr_terminal.c
subr_trap.c sigfastblock: do not skip cursig/postsig loop in ast() 2021-01-12 12:45:26 +02:00
subr_turnstile.c Use atomic loads/stores when updating td->td_state 2021-02-18 14:02:48 +00:00
subr_uio.c
subr_unit.c
subr_vmem.c
subr_witness.c
sys_capability.c
sys_eventfd.c
sys_generic.c poll: use fget_unlocked or fget_only_user when feasible 2021-01-29 11:23:44 +00:00
sys_getrandom.c
sys_pipe.c
sys_procdesc.c
sys_process.c
sys_socket.c aio: micro-optimize the lio_opcode assignments 2021-01-20 09:02:25 -07:00
syscalls.c Reserve gaps in syscall numbers for local use 2021-01-26 18:27:45 +00:00
syscalls.master Reserve gaps in syscall numbers for local use 2021-01-26 18:27:45 +00:00
systrace_args.c
sysv_ipc.c
sysv_msg.c jail: Change the locking around pr_ref and pr_uref 2021-02-21 10:55:44 -08:00
sysv_sem.c jail: Change the locking around pr_ref and pr_uref 2021-02-21 10:55:44 -08:00
sysv_shm.c jail: Change the locking around pr_ref and pr_uref 2021-02-21 10:55:44 -08:00
tty_compat.c
tty_info.c
tty_inq.c
tty_outq.c
tty_pts.c
tty_tty.c
tty_ttydisc.c
tty.c Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
uipc_accf.c
uipc_debug.c
uipc_domain.c
uipc_ktls.c ktls: Use COUNTER_U64_DEFINE_EARLY for the ktls_toe_chacha20 counter. 2021-02-25 15:00:13 -08:00
uipc_mbuf2.c
uipc_mbuf.c m_uiotombuf_nomap(): Stop clearing PG_ZERO in newly allocated pages 2021-02-22 10:04:46 -05:00
uipc_mbufhash.c
uipc_mqueue.c jail: Change the locking around pr_ref and pr_uref 2021-02-21 10:55:44 -08:00
uipc_sem.c Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
uipc_shm.c
uipc_sockbuf.c Revert "SO_RERROR indicates that receive buffer overflows should be handled as errors." 2021-02-08 22:32:32 +00:00
uipc_socket.c kern: sonewconn: set so_options before pru_attach() 2021-02-08 21:44:43 -06:00
uipc_syscalls.c
uipc_usrreq.c Use VOP_VPUT_PAIR() for eligible VFS syscalls. 2021-02-12 03:02:20 +02:00
vfs_acl.c
vfs_aio.c aio: micro-optimize the lio_opcode assignments 2021-01-20 09:02:25 -07:00
vfs_bio.c buf: Fix the dirtybufthresh check 2021-02-25 10:04:44 -05:00
vfs_cache.c cache: temporarily drop the assert that dvp != vp when adding an entry 2021-02-27 22:29:50 +00:00
vfs_cluster.c vnode: move write cluster support data to inodes. 2021-02-21 11:38:21 +02:00
vfs_default.c vfs: add vfs_ref_from_vp 2021-02-21 00:43:05 +00:00
vfs_export.c
vfs_extattr.c
vfs_hash.c
vfs_init.c
vfs_lookup.c cache: add symlink support to lockless lookup 2021-01-23 15:04:43 +00:00
vfs_mount.c vfs: add vfs_ref_from_vp 2021-02-21 00:43:05 +00:00
vfs_mountroot.c
vfs_subr.c vnode: move write cluster support data to inodes. 2021-02-21 11:38:21 +02:00
vfs_syscalls.c vfs: employ vfs_ref_from_vp in statfs and fstatfs 2021-02-21 00:43:05 +00:00
vfs_vnops.c lockf: ensure atomicity of lockf for open(O_CREAT|O_EXCL|O_EXLOCK) 2021-02-18 01:22:05 +02:00
vnode_if.src Add VOP_VPUT_PAIR() with trivial default implementation. 2021-02-12 03:02:20 +02:00