Hi,
On Wed, Jun 07, 2000 at 10:56:17PM +0200, Juan J. Quintela wrote:
quoted
quoted
I'd like to be able to keep stuff simple in the shrink_mmap
"equivalent" I'm working on. Something like:
if (PageDirty(page) && page->mapping && page->mapping->flush)
maxlaunder -= page->mapping->flush();
sct> That looks ideal.
But this is supposed to flush that _page_, at least in the normal
case.
All transactional filesystems will have ordering constraints which
the core VM cannot know about. In that case, the filesystem may
simply have no choice about cleaning and unpinning pages in a given
order. For actually removing a page from memory, evicting precisely
the right page is far more important, but for writeback, it's
controlling the amount of dirty/pinned data from the various different
sources which counts.
Cheers,
Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/