freebsd-dev/sys/sparc64
Konstantin Belousov 3407fefef6 Split the vm_page flags PG_WRITEABLE and PG_REFERENCED into atomic
flags field. Updates to the atomic flags are performed using the atomic
ops on the containing word, do not require any vm lock to be held, and
are non-blocking. The vm_page_aflag_set(9) and vm_page_aflag_clear(9)
functions are provided to modify afalgs.

Document the changes to flags field to only require the page lock.

Introduce vm_page_reference(9) function to provide a stable KPI and
KBI for filesystems like tmpfs and zfs which need to mark a page as
referenced.

Reviewed by:    alc, attilio
Tested by:      marius, flo (sparc64); andreast (powerpc, powerpc64)
Approved by:	re (bz)
2011-09-06 10:30:11 +00:00
..
central
compile
conf Change all the sample kernel configurations to use 2011-08-07 20:16:46 +00:00
ebus Sync licenses and the corresponding RCS IDs with NetBSD, mainly switching 2011-03-12 14:33:32 +00:00
fhc - Take advantage of the INTCLR_* macros. 2010-03-31 22:19:00 +00:00
include Merge from r224217: 2011-07-20 18:51:18 +00:00
isa Retire isa_setup_intr() and isa_teardown_intr() and use the generic bus 2011-05-06 13:48:53 +00:00
pci - Current testing shows that (ab)using the JBC performance counter in bus 2011-07-12 17:56:42 +00:00
sbus Since r221218 rman_manage_region(9) actually honors rm_start and rm_end 2011-08-28 11:49:53 +00:00
sparc64 Split the vm_page flags PG_WRITEABLE and PG_REFERENCED into atomic 2011-09-06 10:30:11 +00:00