aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/Core
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2019-07-29 22:01:28 +0000
committerMark Johnston <markj@FreeBSD.org>2019-07-29 22:01:28 +0000
commit98549e2dc6fb0c38fef2a5357b10c4eb99674d9d (patch)
tree936bb59b20e13c4792fdc1b407ad6aee087773c8 /include/lldb/Core
parent724450761630cc0b3d8991ec2de00a8ceb507384 (diff)
Centralize the logic in vfs_vmio_unwire() and sendfile_free_page().
Both of these functions atomically unwire a page, optionally attempt to free the page, and enqueue or requeue the page. Add functions vm_page_release() and vm_page_release_locked() to perform the same task. The latter must be called with the page's object lock held. As a side effect of this refactoring, the buffer cache will no longer attempt to free mapped pages when completing direct I/O. This is consistent with the handling of pages by sendfile(SF_NOCACHE). Reviewed by: alc, kib MFC after: 2 weeks Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D20986
Notes
svn path=/head/; revision=350431
Diffstat (limited to 'include/lldb/Core')
0 files changed, 0 insertions, 0 deletions