mm/slab.c: linux 2.6.1 fix 2 unguarded kmalloc and a PAGE_SHIFT
Hi Walter,
Quoted 4 lines
this fixes catches 2 unguarded
kmallocs()and changes a statement so thatPAGE_SHIFT\Quoted 1 line
20 causes a warning. At least sparc64 is prepared for a
PAGE_SHIFT>20.
Why should a page shift above 20 generate a warning?
The two unguarded kmallocs are obivously wrong, but I'd prefer to guard them with __GFP_NOFAIL.
--
Manfred