The routine vfs_clean_pages() is only called by bdwrite() to tell the VM
that the buffer pages are "clean" so that VFS will write them when it sees
fit.

However, pages belonging to buffers are wired down, which means they are
not on any paging queues. So even without vfs_clean_pages(), the pageout
daemon will not write those pages. There is therefore no need for the call
to vfs_clean_pages().

Please correct me if I am wrong.  I am really confused here.

Thanks,

-Zhihui


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to