Re: [patch -mm v2] mm: introduce oom_adj_child

From: Paul Menage
Date: Wed Jul 29 2009 - 19:25:47 EST


On Wed, Jul 29, 2009 at 4:13 PM, Andrew Morton<akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> Do we really need to do all that string hacking?  All it does is reads
> a plain old integer from userspace.

It would be nice to have the equivalent of the cgroupfs read_u64 and
write_u64 methods, where you just supply a function that
accepts/returns the appropriate value, and all the buffer munging is
done in the generic code.

Paul
--
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/