Re: __GFP_IO && shrink_[d|i]cache_memory()?

Ingo Molnar
2000-09-24T18:40:05Z

On Sun, 24 Sep 2000, Linus Torvalds wrote:

> [...] I don't think shrinking the inode cache is actually illegal when
> GPF_IO isn't set. In fact, it's probably only the buffer cache itself
> that has to avoid recursion - the other stuff doesn't actually do any
> IO.

i just found this out by example, i'm running the shrink_[i|d]cache stuff
even if __GFP_IO is not set, and no problems so far. (and much better
balancing behavior)

Ingo