Should PAGE_CACHE_SIZE be discarded?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <torvalds@...>, <linux-arch@...>, <linux-fsdevel@...>
Cc: <dhowells@...>, <npiggin@...>
Date: Wednesday, November 14, 2007 - 9:56 am

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
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Should PAGE_CACHE_SIZE be discarded?, David Howells, (Wed Nov 14, 9:56 am)
Re: Should PAGE_CACHE_SIZE be discarded?, Jörn, (Thu Nov 15, 1:09 pm)
Re: Should PAGE_CACHE_SIZE be discarded?, Nick Piggin, (Wed Nov 14, 11:23 am)
Re: Should PAGE_CACHE_SIZE be discarded?, David Howells, (Wed Nov 14, 11:59 am)
Re: Should PAGE_CACHE_SIZE be discarded?, Nick Piggin, (Wed Nov 14, 5:35 pm)
Re: Should PAGE_CACHE_SIZE be discarded?, David Howells, (Thu Nov 15, 8:05 am)
Re: Should PAGE_CACHE_SIZE be discarded?, Benny Halevy, (Thu Nov 15, 10:15 am)
Re: Should PAGE_CACHE_SIZE be discarded?, David Howells, (Thu Nov 15, 10:46 am)
Re: Should PAGE_CACHE_SIZE be discarded?, Nick Piggin, (Thu Nov 15, 5:30 pm)