Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Nov 2000 21:14:47 -0500 (EST)
From:      Zhiui Zhang <zzhang@cs.binghamton.edu>
To:        freebsd-hackers@freebsd.org
Subject:   Protect a VFS buffer from VM - how
Message-ID:  <Pine.SOL.4.21.0011042100010.14984-100000@opal>

next in thread | raw e-mail | index | archive | help

I understand that memory belonged to a buffer will not be paged out by VM
daemon. Now I want protect that memory from being cleaned by VM daemon as
well. Should I use vfs_busy_pages() or just assume that since my pages are
on the active queue, VM daemon will not touch it (it only cleans pages on
the inactive queue). In short, I not only want to wire the page, but also
want exclusive access to it by the filesystem code. How to do this
correctly? Please clarify this subject for me.

Any help is appreciated.

-Zhihui



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.21.0011042100010.14984-100000>