* how does the fs cache work?
@ 2000-07-04 11:15 Roman Zippel
0 siblings, 0 replies; only message in thread
From: Roman Zippel @ 2000-07-04 11:15 UTC (permalink / raw)
To: linux-mm
Hi,
I'm currently trying to understand how the fs cache in 2.4 works, but
I'm slightly confused, how a few things are supposed to work.
Am I seeing it correctly, that if we're looking for a free page we're
basically looking into three caches? We check for mapped pages
(swap_out), we shrink the lru_cache (shrink_mmap) and we clean the inode
cache (shrink_icache_memory).
Furthermore the only policy that I see that prevents a page being freed
is "was it used last time we checked?", how is that supposed to work
under load?
Is there any way to share a block that is read from a file and the same
read from the block device? A possible user might be e2fsck, but
currently it doesn't seem to be problem, as ext2 doesn't use the page
cache for meta data.
Hmm, I think, that's enough questions for now, I come up with more
later. :)
bye, Roman
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-07-04 11:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-04 11:15 how does the fs cache work? Roman Zippel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.