[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081210200657.GB2215@localhost>
Date: Wed, 10 Dec 2008 23:06:57 +0300
From: Cyrill Gorcunov <gorcunov@...il.com>
To: Matt Mackall <mpm@...enic.com>
Cc: Catalin Marinas <catalin.marinas@....com>,
linux-kernel@...r.kernel.org,
Pekka Enberg <penberg@...helsinki.fi>,
Christoph Lameter <cl@...ux-foundation.org>
Subject: Re: [PATCH] Do not pass the SLAB flags as GFP in slob
kmem_cache_create
[Matt Mackall - Wed, Dec 10, 2008 at 01:57:50PM -0600]
...
| I think that's fine. Notice that this is not the allocation of an
| object, but the allocation of a cache descriptor. We save the flags
| inside the descriptor so that when the user calls kmem_cache_alloc, we
| can pass them along to slob_alloc, where GFP_ZERO can take effect.
|
| So, if we're comfortable with the idea that we can only create caches in
| 'normal' contexts, then I think the patch is fine.
|
| --
| Mathematics is the supreme nostalgia of our time.
|
Yes Matt, somehow missed that.
- Cyrill -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists