On Mon, 1 Oct 2012, Glauber Costa wrote:
> diff --git a/mm/slab_common.c b/mm/slab_common.c
> index 9c21725..f2682ee 100644
> --- a/mm/slab_common.c
> +++ b/mm/slab_common.c
> @@ -107,6 +107,15 @@ struct kmem_cache *kmem_cache_create(const char *name,
> size_t size, size_t align
> if (!kmem
On Mon, 1 Oct 2012, Glauber Costa wrote:
> [ v2: leave the mask out decision up to the allocators ]
Acked-by: Christoph Lameter
I would prefer that this mask be named appropriately and be defined in all
sl*_def.h files for all allocators.
Name could be SLAB_AVAILABLE_FLAGS or some name that ma
Some flags are used internally by the allocators for management
purposes. One example of that is the CFLGS_OFF_SLAB flag that slab uses
to mark that the metadata for that cache is stored outside of the slab.
No cache should ever pass those as a creation flags. We can just ignore
this bit if it hap
3 matches
Mail list logo