Cc: Christoph Lameter <clameter@...>, Rafael J. Wysocki <rjw@...>, Pawel Staszewski <pstaszewski@...>, LKML <linux-kernel@...>, Adrian Bunk <bunk@...>, Andrew Morton <akpm@...>, Natalie Protasevich <protasnb@...>
BUT THAT IS TOTALLY IRRELEVANT.
We're not clearing it in kmalloc_large()!
What's so hard to understand?
That stupid clearing in new_slab() is totally and utterly irrelevant (in
addition to the fact that it's hard to spot).
The point was never new_slab(). So why do you even mention it?
The code in question is __slab_alloc(). It did *not* clear it correctly
before its uses (__slab_alloc -> kmalloc_large -> __get_free_pages).
Linus
--