linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] slab: fix kmem_cache definition
@ 2010-02-25  6:21 Dmitry Monakhov
  2010-02-25  6:21 ` [PATCH 2/2] failslab: add ability to filter slab caches [v2] Dmitry Monakhov
  2010-02-26  0:34 ` [PATCH 1/2] slab: fix kmem_cache definition David Rientjes
  0 siblings, 2 replies; 4+ messages in thread
From: Dmitry Monakhov @ 2010-02-25  6:21 UTC (permalink / raw)
  To: linux-mm; +Cc: akinobu.mita, rientjes, Dmitry Monakhov

SLAB_XXX flags in slab.h has defined as unsigned long.
This definition is in sync with kmem_cache->flag in slub and slob
But slab defines kmem_cache->flag as "unsigned int".

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
---
 include/linux/slab_def.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/slab_def.h b/include/linux/slab_def.h
index ca6b2b3..49bb71f 100644
--- a/include/linux/slab_def.h
+++ b/include/linux/slab_def.h
@@ -34,7 +34,7 @@ struct kmem_cache {
 	u32 reciprocal_buffer_size;
 /* 3) touched by every alloc & free from the backend */
 
-	unsigned int flags;		/* constant flags */
+	unsigned long flags;		/* constant flags */
 	unsigned int num;		/* # of objs per slab */
 
 /* 4) cache_grow/shrink */
-- 
1.6.6

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-26  0:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-25  6:21 [PATCH 1/2] slab: fix kmem_cache definition Dmitry Monakhov
2010-02-25  6:21 ` [PATCH 2/2] failslab: add ability to filter slab caches [v2] Dmitry Monakhov
2010-02-26  0:55   ` David Rientjes
2010-02-26  0:34 ` [PATCH 1/2] slab: fix kmem_cache definition David Rientjes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).