Re: suppress page allocation failure warnings from sys_listxattr
From: Dave Jones
Date: Wed Mar 28 2012 - 21:51:08 EST
On Wed, Mar 28, 2012 at 06:46:02PM -0700, Andrew Morton wrote:
> Could. There was some discussion last year and implementations were
> tossed around.
>
> I'm a bit apprehensive - kernel code is supposed to be robust, and
> large allocations are not robust and vmalloc() is crappy.
Can you expand on crappy ? Also, what happens if something allocates
and sits on a bunch of vmalloc'd memory ? would we start seeing oom kills ?
(thinking of the context of my fuzzing tool where a bunch of instances could
feasibly call these syscalls and not sit on huge amounts per thread, but
collectively... I'm wondering if it could be provoked into killing
processes I don't own)
Dave
--
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/