linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Monakhov <dmonakhov@openvz.org>
To: linux-mm@kvack.org
Cc: akinobu.mita@gmail.com, rientjes@google.com,
	Dmitry Monakhov <dmonakhov@openvz.org>
Subject: [PATCH 1/2] slab: fix kmem_cache definition
Date: Thu, 25 Feb 2010 09:21:39 +0300	[thread overview]
Message-ID: <1267078900-4626-1-git-send-email-dmonakhov@openvz.org> (raw)

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>

             reply	other threads:[~2010-02-25  6:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-25  6:21 Dmitry Monakhov [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1267078900-4626-1-git-send-email-dmonakhov@openvz.org \
    --to=dmonakhov@openvz.org \
    --cc=akinobu.mita@gmail.com \
    --cc=linux-mm@kvack.org \
    --cc=rientjes@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).