Re: Should PAGE_CACHE_SIZE be discarded?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Benny Halevy <bhalevy@...>
Cc: <dhowells@...>, Nick Piggin <npiggin@...>, <torvalds@...>, <linux-arch@...>, <linux-fsdevel@...>
Date: Thursday, November 15, 2007 - 10:46 am

Benny Halevy <bhalevy@panasas.com> wrote:


Indeed.  One thing you have to consider is kmap().  I would expect it to
present an area of PAGE_SIZE for access.  However, if the filesystem gets an
area of PAGE_CACHE_SIZE to fill, then I would have to do multiple kmap() calls
in the process of filling that 'pagecache page' in AFS.

Furthermore, if a page struct covers a PAGE_CACHE_SIZE chunk of memory, then I
suspect the page allocator is also wrong, as it I believe it deals with
PAGE_SIZE chunks of memory, assuming a struct page for each.

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)