Thread (6 messages) 6 messages, 4 authors, 2011-05-21

Re: [PATCH 1/2] fs: add a DCACHE_NEED_LOOKUP flag for d_flags

From: Josef Bacik <hidden>
Date: 2011-05-21 00:30:35
Also in: linux-fsdevel

On 05/20/2011 05:31 PM, Andi Kleen wrote:
quoted
Putting them at the end of the cache LRU instead of the head would allow them to be dropped quickly under memory pressure. 
This still would fill up your memory for find /, potentially pushing
out other stuff.

-Andi
So these things are just hashed on dput, so they don't have any
references to them and they are automatically put on the LRU list, so if
we get under memory pressure they will be easily discarded, especially
if nobody is actually stating them.  Thanks,

Josef
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help