]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Do a more targeted check on the page cache and avoid to check the cache
authorAttilio Rao <attilio@FreeBSD.org>
Sat, 16 Jun 2012 21:39:00 +0000 (21:39 +0000)
committerAttilio Rao <attilio@FreeBSD.org>
Sat, 16 Jun 2012 21:39:00 +0000 (21:39 +0000)
commitdb9ba57895e6afe14a3ace49d0e39bbd9e19dcc1
tree37c791888aa5c0a9a27450d873f6174f299fc06c
parentb25c1f2af013e06e31168410ba0f81d987f828de
Do a more targeted check on the page cache and avoid to check the cache
pointer directly in vnode_pager_setsize() by using newly introduced
vm_page_is_cached() function.

Reviewed by: alc
MFC after: 2 weeks
X-MFC: r234039,234064
sys/vm/vnode_pager.c