Re: [08/17] Define functions for page cache handling

2007-04-25 Thread Christoph Lameter
On Wed, 25 Apr 2007, Eric Dumazet wrote: > > struct radix_tree_root page_tree; /* radix tree of all pages */ > > rwlock_ttree_lock; /* and rwlock protecting it */ > > +#ifdef CONFIG_LARGE_BLOCKSIZE > > + unsigned intorder; /* Page order of

Re: [08/17] Define functions for page cache handling

2007-04-25 Thread Christoph Lameter
On Wed, 25 Apr 2007, Eric Dumazet wrote: struct radix_tree_root page_tree; /* radix tree of all pages */ rwlock_ttree_lock; /* and rwlock protecting it */ +#ifdef CONFIG_LARGE_BLOCKSIZE + unsigned intorder; /* Page order of the

Re: [08/17] Define functions for page cache handling

2007-04-24 Thread Eric Dumazet
[EMAIL PROTECTED] a écrit : --- linux-2.6.21-rc7.orig/include/linux/fs.h2007-04-24 11:31:49.0 -0700 +++ linux-2.6.21-rc7/include/linux/fs.h 2007-04-24 11:37:21.0 -0700 @@ -435,6 +435,11 @@ struct address_space { struct inode*host; /* owner:

[08/17] Define functions for page cache handling

2007-04-24 Thread clameter
We use the macros PAGE_CACHE_SIZE PAGE_CACHE_SHIFT PAGE_CACHE_MASK and PAGE_CACHE_ALIGN in various places in the kernel. These are useful if one only want to support one page size in the page cache. This patch provides a set of functions in order to provide the ability to define new page size in

[08/17] Define functions for page cache handling

2007-04-24 Thread clameter
We use the macros PAGE_CACHE_SIZE PAGE_CACHE_SHIFT PAGE_CACHE_MASK and PAGE_CACHE_ALIGN in various places in the kernel. These are useful if one only want to support one page size in the page cache. This patch provides a set of functions in order to provide the ability to define new page size in

Re: [08/17] Define functions for page cache handling

2007-04-24 Thread Eric Dumazet
[EMAIL PROTECTED] a écrit : --- linux-2.6.21-rc7.orig/include/linux/fs.h2007-04-24 11:31:49.0 -0700 +++ linux-2.6.21-rc7/include/linux/fs.h 2007-04-24 11:37:21.0 -0700 @@ -435,6 +435,11 @@ struct address_space { struct inode*host; /* owner: