diff options
author | alc <alc@FreeBSD.org> | 2013-12-31 18:25:15 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2013-12-31 18:25:15 +0000 |
commit | d0ccfff2c55a8ce2eedf9d4e22b80ba48deb8bb2 (patch) | |
tree | 4d0dbf32975ab44fef9852bdaf7bc12b99135604 /cddl/contrib/opensolaris/lib/libzpool/common/kernel.c | |
parent | e7dbbf7b9650bec1f35d1203f68e262933fc6167 (diff) | |
download | FreeBSD-src-d0ccfff2c55a8ce2eedf9d4e22b80ba48deb8bb2.zip FreeBSD-src-d0ccfff2c55a8ce2eedf9d4e22b80ba48deb8bb2.tar.gz |
Since the introduction of the popmap to reservations in r259999, there is
no longer any need for the page's PG_CACHED and PG_FREE flags to be set and
cleared while the free page queues lock is held. Thus, vm_page_alloc(),
vm_page_alloc_contig(), and vm_page_alloc_freelist() can wait until after
the free page queues lock is released to clear the page's flags. Moreover,
the PG_FREE flag can be retired. Now that the reservation system no longer
uses it, its only uses are in a few assertions. Eliminating these
assertions is no real loss. Other assertions catch the same types of
misbehavior, like doubly freeing a page (see r260032) or dirtying a free
page (free pages are invalid and only valid pages can be dirtied).
Eliminate an unneeded variable from vm_page_alloc_contig().
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'cddl/contrib/opensolaris/lib/libzpool/common/kernel.c')
0 files changed, 0 insertions, 0 deletions