]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
o Enhance vm_pager_free_nonreq() function:
authorglebius <glebius@FreeBSD.org>
Tue, 17 Mar 2015 19:19:19 +0000 (19:19 +0000)
committerglebius <glebius@FreeBSD.org>
Tue, 17 Mar 2015 19:19:19 +0000 (19:19 +0000)
commit398be53682fc65ee88ba001f09d5c90d449e31ba
treee16f4ec47ab3db6384f3ca6748283722c2e8d5d2
parent6e4dc744037cacaa56accef5bd0a5dbb3a5ce1b0
o Enhance vm_pager_free_nonreq() function:
  - Allow to call the function with vm object lock held.
  - Allow to specify reqpage that doesn't match any page in the region,
    meaning freeing all pages.
o Utilize the new function in couple more places in vnode pager.

Reviewed by: alc, kib
Sponsored by: Netflix
Sponsored by: Nginx, Inc.
sys/fs/nfsclient/nfs_clbio.c
sys/vm/vm_pager.c
sys/vm/vm_pager.h
sys/vm/vnode_pager.c