|
|
Log in / Subscribe / Register

Page cache: Replace PAGE_CACHE_xx with inline functions V3

From:  Christoph Lameter <clameter@sgi.com>
To:  akpm@linux-foundation.org
Subject:  [patch 00/18] Page cache: Replace PAGE_CACHE_xx with inline functions V3
Date:  Wed, 26 Dec 2007 21:32:46 -0800
Message-ID:  <20071227053246.902699851@sgi.com>
Cc:  linux-fsdevel@vger.kernel.org, linux-mm@kvack.org
Archive‑link:  Article

This patchset cleans up page cache handling by replacing
open coded shifts and adds with inline function calls.

The ultimate goal is to replace all uses of PAGE_CACHE_xxx in the
kernel through the use of these functions. All the functions take
a mapping parameter. The mapping parameter is required if we want
to support large block sizes in filesystems and block devices.

Patchset against 2.6.24-rc6-mm1.

V2->V3:
- Audit to check that uses of page->mapping are valid. Improve a couple
  of places. Make it clearer how the mappings are determined and handled
  (see the comments of each patch for detailed descriptions).
- Use a consistent method to determine the mapping if a function already
  does determine the inode via page->mapping->host.

V1->V2:
- Review by Dave Chinner. Multiple improvements and fixes.
- Review by Fengguand Wu with more improvements.

-- 
-
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



Copyright © 2007, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds