[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0608011254270.18917@schroedinger.engr.sgi.com>
Date: Tue, 1 Aug 2006 12:55:29 -0700 (PDT)
From: Christoph Lameter <clameter@....com>
To: Steven Rostedt <rostedt@...dmis.org>
cc: Andrew Morton <akpm@...l.org>,
Herbert Xu <herbert@...dor.apana.org.au>,
linux-kernel@...r.kernel.org, ext2-devel@...ts.sourceforge.net
Subject: Re: [BLOCK] bh: Ensure bh fits within a page
On Tue, 1 Aug 2006, Steven Rostedt wrote:
> > Yes. But then that number must always be a fraction of pagesize.
> >
>
> understood, as is 1024, 2048, and 4096 are. Well, if pagesize is 4096
> is 4096 really a fraction of 4096? :)
>
> Also, isn't all sizes for kmalloc that are under pagesize a fraction of
> the page size? Or more correctly, a power of 2?
Well the size of the object and the alignment must be a fraction of the
pagesize. If you get page aligned pages then I wonder why use the slab
allocator? The page allocator will be much better suited.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists