[lkml]   [2006]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] fs: fcntl_setlease defies lease_init assumptions

    On Tue, 9 May 2006, Manfred Spraul wrote:
    > How many kmalloc(PAGE_SIZE*n) users are there?

    A single PAGE_SIZE allocation is quite common. Lots of kernel structures
    end up (often for historical reasons) being that size. PATH_MAX, for one.
    Sometimes it's also simply because it's the one "known" size that doesn't
    cause fragmentation and is easily available, so..

    In other words, it's often the "canonical size" for some random buffer:
    if only because it's known to be the largest possible buffer that is
    always available.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2009-11-18 23:46    [W:0.019 / U:186.732 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site