freebsd-dev/sys/compat
Mateusz Guzik 21b737495b Introduce __read_mostly and __exclusive_cache_line macros.
The intended use is to annotate frequently used globals which either rarely
change (and thus can be grouped in the same cacheline) or are an atomic counter
(which means it may benefit from being the only variable in the cacheline).

Linker script support is provided only for amd64. Architectures without it risk
having other variables put in, i.e. as if they were not annotated. This is
harmless from correctness point of view.

Reviewed by:	bde (previous version)
MFC after:	1 month
2017-01-27 14:53:09 +00:00
..
cloudabi Catch up with changes to structure member names. 2017-01-17 22:05:52 +00:00
cloudabi32 Catch up with changes to structure member names. 2017-01-17 22:05:52 +00:00
cloudabi64 Catch up with changes to structure member names. 2017-01-17 22:05:52 +00:00
freebsd32 Do not allocate struct statfs on kernel stack. 2017-01-05 17:19:26 +00:00
ia32 Tidy up ia32_sysvec sv_flags setting 2016-10-20 20:29:54 +00:00
linprocfs Remove PG_CACHED-related fields from struct vmmeter, because they are no 2016-11-22 18:13:46 +00:00
linsysfs Add support to the jail framework to be able to mount linsysfs(5) and 2015-07-19 08:52:35 +00:00
linux Use getsock_cap() instead of fgetsock(). 2017-01-06 04:38:38 +00:00
linuxkpi/common Introduce __read_mostly and __exclusive_cache_line macros. 2017-01-27 14:53:09 +00:00
ndis ndis(4): Undo unneeded workarounds in ndis' rand(). 2016-05-22 14:13:20 +00:00
netbsd Remove some more NetBSD compat shims and other unused bits from these 2012-09-10 18:49:49 +00:00
svr4 Do not allocate struct statfs on kernel stack. 2017-01-05 17:19:26 +00:00
x86bios x86bios: spelling fix in a comment. 2016-04-30 00:34:04 +00:00