From: David Rientjes <rientjes@google.com>
To: Dmitry Monakhov <dmonakhov@openvz.org>,
Pekka Enberg <penberg@cs.helsinki.fi>
Cc: linux-mm@kvack.org, akinobu.mita@gmail.com,
Christoph Lameter <cl@linux-foundation.org>
Subject: Re: [PATCH 1/2] slab: fix kmem_cache definition
Date: Thu, 25 Feb 2010 16:34:06 -0800 (PST) [thread overview]
Message-ID: <alpine.DEB.2.00.1002251632520.1194@chino.kir.corp.google.com> (raw)
In-Reply-To: <1267078900-4626-1-git-send-email-dmonakhov@openvz.org>
On Thu, 25 Feb 2010, Dmitry Monakhov wrote:
> 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>
Acked-by: David Rientjes <rientjes@google.com>
Added Pekka since this needs to go through him for slab-2.6.git.
> ---
> 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 */
--
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>
prev parent reply other threads:[~2010-02-26 0:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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:55 ` David Rientjes
2010-02-26 0:34 ` David Rientjes [this message]
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=alpine.DEB.2.00.1002251632520.1194@chino.kir.corp.google.com \
--to=rientjes@google.com \
--cc=akinobu.mita@gmail.com \
--cc=cl@linux-foundation.org \
--cc=dmonakhov@openvz.org \
--cc=linux-mm@kvack.org \
--cc=penberg@cs.helsinki.fi \
/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