Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | Date | Mon, 24 Feb 2003 19:34:13 +0000 | From | John Levon <> | Subject | [PATCH] typo in slab.c debug ? |
| |
Looked like this condition was previously always false ...
Not tested or anything ... 2.5.62
john
--- linux-linus/mm/slab.c 2003-02-18 00:38:40.000000000 +0000 +++ linux/mm/slab.c 2003-02-24 19:36:47.000000000 +0000 @@ -1643,7 +1643,7 @@ if (cachep->ctor && cachep->flags & SLAB_POISON) { unsigned long ctor_flags = SLAB_CTOR_CONSTRUCTOR; - if (!flags & __GFP_WAIT) + if (!(flags & __GFP_WAIT)) ctor_flags |= SLAB_CTOR_ATOMIC; cachep->ctor(objp, cachep, ctor_flags); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |