Re: [PATCH] Add nid sanity on alloc_pages_node

From: Benjamin Herrenschmidt
Date: Fri Jul 13 2007 - 08:49:26 EST


On Fri, 2007-07-13 at 01:54 -0700, Paul Jackson wrote:
> > Something for the young ...
>
> ... ancient self smiles with relief, glad that Andrew is not looking
> this way ;).
>
> > We could do this: add a little bitops torture-test and run that
> > unconditionally, nice and early.
>
> Good idea. That would allow for wide spread coverage across all arch's
> that they obeyed the rules for the tighter API - find_first_bit returning
> exactly N on finding no bits set, before we took the risk of actually
> relying on the changed API, by removing those min_t() guards.

That, the lockdep tests, the RCU tests...

Looks like the kernel is building up it's own test suite :-) That's a
-good- thing, maybe we should formalize it a bit (separate the "test
suite" config options) ?

Ben.


-
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/