Andrew Morton wrote:
On Tue, 19 Jun 2007 15:38:01 -0700 (PDT)
Christoph Lameter <[EMAIL PROTECTED]> wrote:
Ok and BUILD_BUG_ON really works? Had some bad experiences with it.
hm, I don't recall any problems, apart from its very obscure error
reporting.
But if it breaks, we get an
Andrew Morton wrote:
On Tue, 19 Jun 2007 15:38:01 -0700 (PDT)
Christoph Lameter [EMAIL PROTECTED] wrote:
Ok and BUILD_BUG_ON really works? Had some bad experiences with it.
hm, I don't recall any problems, apart from its very obscure error
reporting.
But if it breaks, we get an
On Tue, 19 Jun 2007 15:38:01 -0700 (PDT)
Christoph Lameter <[EMAIL PROTECTED]> wrote:
> Ok and BUILD_BUG_ON really works? Had some bad experiences with it.
hm, I don't recall any problems, apart from its very obscure error
reporting.
But if it breaks, we get an opportunity to fix it ;)
-
To
On Tue, 19 Jun 2007, Andrew Morton wrote:
> On Tue, 19 Jun 2007 15:22:36 -0700 (PDT)
> Christoph Lameter <[EMAIL PROTECTED]> wrote:
>
> > On Tue, 19 Jun 2007, Andrew Morton wrote:
> >
> > > On Mon, 18 Jun 2007 02:58:48 -0700
> > > [EMAIL PROTECTED] wrote:
> > >
> > > > +
On Tue, 19 Jun 2007 15:22:36 -0700 (PDT)
Christoph Lameter <[EMAIL PROTECTED]> wrote:
> On Tue, 19 Jun 2007, Andrew Morton wrote:
>
> > On Mon, 18 Jun 2007 02:58:48 -0700
> > [EMAIL PROTECTED] wrote:
> >
> > > + BUG_ON(KMALLOC_MIN_SIZE > 256 ||
> > > + (KMALLOC_MIN_SIZE &
On Tue, 19 Jun 2007, Andrew Morton wrote:
> On Mon, 18 Jun 2007 02:58:48 -0700
> [EMAIL PROTECTED] wrote:
>
> > + BUG_ON(KMALLOC_MIN_SIZE > 256 ||
> > + (KMALLOC_MIN_SIZE & (KMALLOC_MIN_SIZE - 1)));
>
> BUILD_BUG_ON?
>
Does not matter. That code is __init.
-
To unsubscribe from
On Mon, 18 Jun 2007 02:58:48 -0700
[EMAIL PROTECTED] wrote:
> + BUG_ON(KMALLOC_MIN_SIZE > 256 ||
> + (KMALLOC_MIN_SIZE & (KMALLOC_MIN_SIZE - 1)));
BUILD_BUG_ON?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
On Mon, 18 Jun 2007 02:58:48 -0700
[EMAIL PROTECTED] wrote:
+ BUG_ON(KMALLOC_MIN_SIZE 256 ||
+ (KMALLOC_MIN_SIZE (KMALLOC_MIN_SIZE - 1)));
BUILD_BUG_ON?
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More
On Tue, 19 Jun 2007, Andrew Morton wrote:
On Mon, 18 Jun 2007 02:58:48 -0700
[EMAIL PROTECTED] wrote:
+ BUG_ON(KMALLOC_MIN_SIZE 256 ||
+ (KMALLOC_MIN_SIZE (KMALLOC_MIN_SIZE - 1)));
BUILD_BUG_ON?
Does not matter. That code is __init.
-
To unsubscribe from this list:
On Tue, 19 Jun 2007 15:22:36 -0700 (PDT)
Christoph Lameter [EMAIL PROTECTED] wrote:
On Tue, 19 Jun 2007, Andrew Morton wrote:
On Mon, 18 Jun 2007 02:58:48 -0700
[EMAIL PROTECTED] wrote:
+ BUG_ON(KMALLOC_MIN_SIZE 256 ||
+ (KMALLOC_MIN_SIZE (KMALLOC_MIN_SIZE - 1)));
On Tue, 19 Jun 2007, Andrew Morton wrote:
On Tue, 19 Jun 2007 15:22:36 -0700 (PDT)
Christoph Lameter [EMAIL PROTECTED] wrote:
On Tue, 19 Jun 2007, Andrew Morton wrote:
On Mon, 18 Jun 2007 02:58:48 -0700
[EMAIL PROTECTED] wrote:
+ BUG_ON(KMALLOC_MIN_SIZE 256 ||
+
On Tue, 19 Jun 2007 15:38:01 -0700 (PDT)
Christoph Lameter [EMAIL PROTECTED] wrote:
Ok and BUILD_BUG_ON really works? Had some bad experiences with it.
hm, I don't recall any problems, apart from its very obscure error
reporting.
But if it breaks, we get an opportunity to fix it ;)
-
To
kmalloc_index is a long series of comparisons. The attempt to replace
kmalloc_index with something more efficient like ilog2 failed due to
compiler issues with constant folding on gcc 3.3 / powerpc.
kmalloc_index()'es long list of comparisons works fine for constant folding
since all the
kmalloc_index is a long series of comparisons. The attempt to replace
kmalloc_index with something more efficient like ilog2 failed due to
compiler issues with constant folding on gcc 3.3 / powerpc.
kmalloc_index()'es long list of comparisons works fine for constant folding
since all the
14 matches
Mail list logo