diff options
author | Alan Cox <alc@FreeBSD.org> | 2016-12-01 17:26:37 +0000 |
---|---|---|
committer | Alan Cox <alc@FreeBSD.org> | 2016-12-01 17:26:37 +0000 |
commit | 563a19d546064e9ded08d2b8be74db34d293759c (patch) | |
tree | 7183d4ebc97f2a4baf61ea1776891d1c970221b3 /lib/libcapsicum | |
parent | 71500aab3e2064c0e603fe74c794c5f2d6090583 (diff) | |
download | src-563a19d546064e9ded08d2b8be74db34d293759c.tar.gz src-563a19d546064e9ded08d2b8be74db34d293759c.zip |
During vm_page_cache()'s call to vm_radix_insert(), if vm_page_alloc() was
called to allocate a new page of radix trie nodes, there could be a call to
vm_radix_remove() on the same trie (of PG_CACHED pages) as the in-progress
vm_radix_insert(). With the removal of PG_CACHED pages, we can simplify
vm_radix_insert() and vm_radix_remove() by removing the flags on the root of
the trie that were used to detect this case and the code for restarting
vm_radix_insert() when it happened.
Reviewed by: kib, markj
Tested by: pho
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D8664
Notes
Notes:
svn path=/head/; revision=309365
Diffstat (limited to 'lib/libcapsicum')
0 files changed, 0 insertions, 0 deletions