Re: [patch 01/14] Define functions for page cache handling

2007-06-14 Thread Sam Ravnborg
On Thu, Jun 14, 2007 at 12:58:21PM -0700, Christoph Lameter wrote: > On Thu, 14 Jun 2007, Sam Ravnborg wrote: > > > We need access to PAGE_SIZE in vmlinux.lds.h. > > What is your plan with that usage? > > This is about PAGE_CACHE_xxx. No changes to PAGE__SIZE are planned. Obviously - thanks for

Re: [patch 01/14] Define functions for page cache handling

2007-06-14 Thread Christoph Lameter
On Thu, 14 Jun 2007, Sam Ravnborg wrote: > We need access to PAGE_SIZE in vmlinux.lds.h. > What is your plan with that usage? This is about PAGE_CACHE_xxx. No changes to PAGE__SIZE are planned. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [patch 01/14] Define functions for page cache handling

2007-06-14 Thread Sam Ravnborg
On Thu, Jun 14, 2007 at 12:38:40PM -0700, [EMAIL PROTECTED] wrote: > We use the macros PAGE_CACHE_SIZE PAGE_CACHE_SHIFT PAGE_CACHE_MASK > and PAGE_CACHE_ALIGN in various places in the kernel. Many times > common operations like calculating the offset or the index are coded > using shifts and adds.