Skip to contentSkip to conversation

limiting dentries on Linux

Linux-ia64 Jes Sorensen 1 participant 1 message Mar 12, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Mario" = Mario Smarduch <[email protected]> writes:

Mario> I apologize in advance for floating a general Linux question on Mario> IA-64 group.

Mario> What can be used to limit space allocated for dentries? For Mario> example catting non-existing files eats up 30M of memory.

Actually that just goes into the buffer/page caches and will be released again once someone tries to allocate the memory back using the appropriate kmalloc() flags, ie. anything but GFP_ATOMIC.

Mario> What group is more relevant to these types of questions.

Possibly linux-kernel, however I doubt you will find much support for limiting the buffer/page caches.

Cheers,
Jes