linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Should PAGE_CACHE_SIZE be discarded?
@ 2007-11-14 13:56 David Howells
  2007-11-14 15:23 ` Nick Piggin
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: David Howells @ 2007-11-14 13:56 UTC (permalink / raw)
  To: torvalds, linux-arch, linux-fsdevel; +Cc: dhowells, npiggin


Are we ever going to have PAGE_CACHE_SIZE != PAGE_SIZE?  If not, why not
discard PAGE_CACHE_SIZE as it's then redundant.

PAGE_CACHE_SIZE is also an ill-defined concept.  Just grep in Documentation/
and it only comes up in a couple of places, neither particularly informative.

If there's a possibility that it will be used, then someone who knows how it's
supposed to work needs to sit down and document what it is, what it represents,
where it applies, how it interacts with PG_compound and how the page flags
distribute over a page cache slot.

One further thing to consider: actually making PAGE_CACHE_SIZE > PAGE_SIZE
work will be an interesting problem, as I'm certain most filesystems will
break horribly without a lot of work (ramfs might be only exception).

David

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-11-15 21:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-14 13:56 Should PAGE_CACHE_SIZE be discarded? David Howells
2007-11-14 15:23 ` Nick Piggin
2007-11-14 15:59 ` David Howells
2007-11-14 21:35   ` Nick Piggin
2007-11-15 12:05   ` David Howells
2007-11-15 14:15     ` Benny Halevy
2007-11-15 14:46     ` David Howells
2007-11-15 21:30       ` Nick Piggin
2007-11-15 17:09 ` Jörn Engel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).