Messages in this thread | | | Date | Wed, 10 Dec 2008 23:06:57 +0300 | From | Cyrill Gorcunov <> | 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 -
| |