Re: [PATCH] Add nid sanity on alloc_pages_node

From: Andrew Morton
Date: Fri Jul 13 2007 - 04:50:20 EST


On Fri, 13 Jul 2007 01:43:49 -0700 Paul Jackson <pj@xxxxxxx> wrote:

> > Sigh. What crap. I guess we leave it as-is.
>
> That matches my conclusion.
>
> The thought of exposing a bug in some user of this find bit code by
> tightening up the API to return == N, not >= N, scares poor little old
> me. I can imagine a nasty bug coming from this
>
> If someone bold enough and strong enough to slay such dragons came
> along, I'd gladly cheer them along. But such people are a rare breed,
> and probably have bigger dragons to slay first.
>

We could do this: add a little bitops torture-test and run that
unconditionally, nice and early.

Something for the young and keen amongst us...
-
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/