Wouldn't this mean we could end up with an LRU cache full of
unfreeable pages?
Then we would scan the LRU cache and apply pressure on all of
the filesystems, but then the filesystem could decide it wants
to flush *other* pages from the ones we have on the LRU queue.
This could get particularly nasty when we have a VM with
active / inactive / scavenge lists... (like what I'm working
on now)
Then again, if the filesystem knows which pages we want to
push, it could base the order in which it is going to flush
its blocks on that memory pressure. Then your scheme will
undoubtedly be the more robust one.
Question is, are the filesystems ready to play this game?
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/