lkml.org 
[lkml]   [2007]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH -mm] add a kmem_cache for nsproxy objects
    On Mon, 18 Jun 2007 22:53:13 +0200
    Cedric Le Goater <clg@fr.ibm.com> wrote:

    > +static int __init nsproxy_cache_init(void)
    > +{
    > + nsproxy_cachep = kmem_cache_create("nsproxy", sizeof(struct nsproxy),
    > + 0, SLAB_PANIC, NULL, NULL);
    > + return 0;
    > +}
    > +

    Christoph added this cheesy KMEM_CACHE macro. But I don't immediately recall
    the rationale so I'm a bit reluctant to ask people to use-the-cheesy-macro.

    Perhaps he can remind us why it is there?
    -
    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: 2007-06-19 20:39    [W:2.243 / U:1.176 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site