freebsd-dev/sys/i386/xen
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
..
clock.c Refactor Xen PV code to use new event timers subsystem. That uses one-shot 2011-05-13 12:39:37 +00:00
exception.s i386 has not (yet) any DEV_ATPIC conditional than axe it out from Xen 2009-11-27 01:02:17 +00:00
locore.s Eliminate unused variables (see r137912). 2010-01-07 04:47:09 +00:00
mp_machdep.c Remove pc_cpumask usage from i386 and XEN. 2011-06-28 13:13:06 +00:00
mptable.c Don't include mptable_pci.c in Xen kernels. It is only meant for systems 2011-07-17 01:23:50 +00:00
pmap.c Split the vm_page flags PG_WRITEABLE and PG_REFERENCED into atomic 2011-09-06 10:30:11 +00:00
xen_clock_util.c Migrate the Xen hypervisor clock reading routines into something 2009-05-29 13:36:06 +00:00
xen_machdep.c Spell CRITICAL_ASSERT correctly. 2011-01-04 16:29:07 +00:00
xen_rtc.c Migrate the Xen hypervisor clock reading routines into something 2009-05-29 13:36:06 +00:00