Re: [RFC] [PATCH] cpuset operations causes Badness at mm/slab.c:777 warning

Andrew Morton
2007-06-02T00:52:16Z

On Fri, 01 Jun 2007 17:43:46 -0700 Jeremy Fitzhardinge <jeremy@goop.org> wrote:

> Andrew Morton wrote:
> > As I said, it's specific to the kmalloc(0) problem, and we're fixing that
> > by other means anyway.
> >
>
> I guess I'm not getting much traction in my campaign for equal rights
> for zero-sized allocations. They're perfectly reasonable things to have,
> if that's the way the code falls out. The warning is just prejudice.
>

In some cases, sure, and we should remove the warning at some stage.

But it has exposed a couple of bugs and a few weird things.