freebsd-skq/sys/fs
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
..
cd9660 This update changes the mnt_flag field in the mount structure from 2011-07-24 17:43:09 +00:00
coda Second-to-last commit implementing Capsicum capabilities in the FreeBSD 2011-08-11 12:30:23 +00:00
deadfs Add function vop_rename_fail(9) that performs needed cleanup for locks 2010-04-02 14:03:01 +00:00
devfs Add the fo_chown and fo_chmod methods to struct fileops and use them 2011-08-16 20:07:47 +00:00
ext2fs Add a lock flags argument to the VFS_FHTOVP() file system 2011-05-22 01:07:54 +00:00
fdescfs Second-to-last commit implementing Capsicum capabilities in the FreeBSD 2011-08-11 12:30:23 +00:00
fifofs Add the fo_chown and fo_chmod methods to struct fileops and use them 2011-08-16 20:07:47 +00:00
hpfs Add a lock flags argument to the VFS_FHTOVP() file system 2011-05-22 01:07:54 +00:00
msdosfs This update changes the mnt_flag field in the mount structure from 2011-07-24 17:43:09 +00:00
nfs Revert revision 224079 as Rick pointed out that I would be calling VOP_PATHCONF 2011-07-17 03:44:05 +00:00
nfsclient Second-to-last commit implementing Capsicum capabilities in the FreeBSD 2011-08-11 12:30:23 +00:00
nfsserver Fix the NFS servers so that they can do a Lookup of "..", 2011-09-03 00:28:53 +00:00
ntfs This update changes the mnt_flag field in the mount structure from 2011-07-24 17:43:09 +00:00
nullfs Add a lock flags argument to the VFS_FHTOVP() file system 2011-05-22 01:07:54 +00:00
nwfs In the VOP_PUTPAGES() implementations, change the default error from 2011-06-01 21:00:28 +00:00
portalfs Second-to-last commit implementing Capsicum capabilities in the FreeBSD 2011-08-11 12:30:23 +00:00
procfs Do not return success and a string "unknown" when vn_fullpath() was unable 2011-08-16 20:13:17 +00:00
pseudofs Add dedicated routines to toggle lockmgr flags such as LK_NOSHARE and 2010-08-20 19:46:50 +00:00
smbfs This update changes the mnt_flag field in the mount structure from 2011-07-24 17:43:09 +00:00
tmpfs Split the vm_page flags PG_WRITEABLE and PG_REFERENCED into atomic 2011-09-06 10:30:11 +00:00
udf Add a lock flags argument to the VFS_FHTOVP() file system 2011-05-22 01:07:54 +00:00
unionfs Add a lock flags argument to the VFS_FHTOVP() file system 2011-05-22 01:07:54 +00:00