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

Valdis.Kletnieks
2007-06-02T01:06:27Z

[-- Attachment #1: Type: text/plain, Size: 318 bytes --]

On Fri, 01 Jun 2007 16:00:30 PDT, Linus Torvalds said:

> #define BADPTR ((void *)16)

> I bet you'd find *more* problems that way than by returning NULL, and
> you'd also avoid the whole problem with "if (!ptr) return -ENOMEM".

Hmm.. this looks like a good contender for "first usage of #ifndef CONFIG_STABLE"

:)

[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]