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();
Where the flush() function would return the amount of _inactive_
pages that were flushed at the time we called this function...
(we should not decrease maxlaunder if we flushed active pages
since that would imply we didn't make any progress)
regards,
Rik
-- The Internet is not a network of computers. It is a network of people. That is its real strength.Wanna talk about the kernel? irc.openprojects.net / #kernelnewbies http://www.conectiva.com/ http://www.surriel.com/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/