lkml.org 
[lkml]   [2009]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [patch -mm v2] mm: introduce oom_adj_child
    From
    On Wed, Jul 29, 2009 at 4:13 PM, Andrew Morton<akpm@linux-foundation.org> 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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2009-07-30 01:29    [W:0.021 / U:60.072 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site