lkml.org 
[lkml]   [2006]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH] fs: fcntl_setlease defies lease_init assumptions
    Date
    Manfred Spraul (on Tue, 09 May 2006 08:22:59 +0200) wrote:
    >What about:
    >- switch from power of two kmalloc caches to slighly smaller caches.
    >- change the kmalloc(PAGE_SIZE) users to get_free_page().
    >get_free_page() is now fast, too.
    >- use cachep= *((struct kmem_cache **)(objp & 0xfff))

    0xfff? (PAGE_SIZE - 1) surely. Not all the world is a 386.

    -
    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: 2006-05-09 08:41    [W:0.020 / U:29.440 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site