Re: [PATCH 5/8] mm/slub: Factor out some common code.
From: George Spelvin
Date: Wed Mar 16 2011 - 16:51:48 EST
> Where's your signed-off-by?
Somewhere under the pile of crap on my desk. :-)
(More to the point, waiting for me to think it's good enough to submit
> Nice cleanup.
> "flag" should be unsigned long in all of these functions: the constants
> are declared with UL suffixes in slab.h.
Actually, I did that deliberately. Because there's a problem I keep
wondering about, which repeats many many times in the kernel:
*Why* are they unsigned long? That's an awkward type: 32 bits on many
architectures, so we can't portably assign more than 32 bits, and on
platforms where it's 64 bits, the upper 32 are just wasting space.
(And REX prefixes on x86-64.)
Wouldn't it be a better cleanup to convert the whole lot to unsigned
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/