freebsd-dev/sys/ufs/ffs
Alan Cox 6bbee8e28a Add a new option, OBJPR_NOTMAPPED, to vm_object_page_remove(). Passing this
option to vm_object_page_remove() asserts that the specified range of pages
is not mapped, or more precisely that none of these pages have any managed
mappings.  Thus, vm_object_page_remove() need not call pmap_remove_all() on
the pages.

This change not only saves time by eliminating pointless calls to
pmap_remove_all(), but it also eliminates an inconsistency in the use of
pmap_remove_all() versus related functions, like pmap_remove_write().  It
eliminates harmless but pointless calls to pmap_remove_all() that were being
performed on PG_UNMANAGED pages.

Update all of the existing assertions on pmap_remove_all() to reflect this
change.

Reviewed by:	kib
2011-06-29 16:40:41 +00:00
..
ffs_alloc.c - Fix directory count rollbacks by passing the mode to the journal dep 2011-06-20 03:25:09 +00:00
ffs_balloc.c Ensure that filesystem metadata contained within persistent snapshots 2011-06-15 23:19:09 +00:00
ffs_extern.h - Fix directory count rollbacks by passing the mode to the journal dep 2011-06-20 03:25:09 +00:00
ffs_inode.c Add a new option, OBJPR_NOTMAPPED, to vm_object_page_remove(). Passing this 2011-06-29 16:40:41 +00:00
ffs_rawread.c Put the general logic for being a CPU hog into a new function 2011-02-02 16:35:10 +00:00
ffs_snapshot.c Fixed dereference of a NULL pointer. 2011-06-18 21:10:03 +00:00
ffs_softdep.c - Fix directory count rollbacks by passing the mode to the journal dep 2011-06-20 03:25:09 +00:00
ffs_subr.c - Merge soft-updates journaling from projects/suj/head into head. This 2010-04-24 07:05:35 +00:00
ffs_tables.c
ffs_vfsops.c Disable the soft updates journaling after a filesystem is successfully 2011-06-12 18:46:48 +00:00
ffs_vnops.c Implement fully asynchronous partial truncation with softupdates journaling 2011-06-10 22:48:35 +00:00
fs.h Implement fully asynchronous partial truncation with softupdates journaling 2011-06-10 22:48:35 +00:00
softdep.h Ensure that filesystem metadata contained within persistent snapshots 2011-06-15 23:19:09 +00:00