login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
23
Re: [PATCH] Fix warning in mm/slub.c
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Pekka Enberg <penberg@...>
To: Yasunori Goto <y-goto@...>
Cc: Olof Johansson <olof@...>, Andrew Morton <akpm@...>, Christoph Lameter <clameter@...>, Linux Kernel ML <linux-kernel@...>, linux-mm <linux-mm@...>
Subject:
Re: [PATCH] Fix warning in mm/slub.c
Date: Tuesday, October 23, 2007 - 3:52 am
Hi, On 10/23/07, Yasunori Goto <y-goto@jp.fujitsu.com> wrote:
quoted text
> > "Make kmem_cache_node for SLUB on memory online to avoid panic" introduced > > the following: > > > > mm/slub.c:2737: warning: passing argument 1 of 'atomic_read' from > > incompatible pointer type > > > > > > Signed-off-by: Olof Johansson <olof@lixom.net> > > > > > > diff --git a/mm/slub.c b/mm/slub.c > > index aac1dd3..bcdb2c8 100644 > > --- a/mm/slub.c > > +++ b/mm/slub.c > > @@ -2734,7 +2734,7 @@ static void slab_mem_offline_callback(void *arg) > > * and offline_pages() function shoudn't call this > > * callback. So, we must fail. > > */ > > - BUG_ON(atomic_read(&n->nr_slabs)); > > + BUG_ON(atomic_long_read(&n->nr_slabs)); > > > > s->node[offline_node] = NULL; > > kmem_cache_free(kmalloc_caches, n); > > > Oops, yes. Thanks. > > Acked-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi> -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[Patch](memory hotplug) Make kmem_cache_node for SLUB on mem...
, Yasunori Goto
, (Wed Oct 17, 11:25 pm)
[PATCH] Fix warning in mm/slub.c
, Olof Johansson
, (Tue Oct 23, 12:21 am)
Re: [PATCH] Fix warning in mm/slub.c
, Christoph Lameter
, (Tue Oct 23, 12:21 pm)
Re: [PATCH] Fix warning in mm/slub.c
, Yasunori Goto
, (Tue Oct 23, 1:35 am)
Re: [PATCH] Fix warning in mm/slub.c
, Pekka Enberg
, (Tue Oct 23, 3:52 am)
Re: [Patch](memory hotplug) Make kmem_cache_node for SLUB on...
, Andrew Morton
, (Wed Oct 17, 11:46 pm)
Re: [Patch](memory hotplug) Make kmem_cache_node for SLUB on...
, Yasunori Goto
, (Thu Oct 18, 5:20 am)
Re: [Patch](memory hotplug) Make kmem_cache_node for SLUB on...
, Christoph Lameter
, (Thu Oct 18, 2:25 am)
Re: [Patch](memory hotplug) Make kmem_cache_node for SLUB on...
, Andrew Morton
, (Thu Oct 18, 3:00 am)
Re: [Patch](memory hotplug) Make kmem_cache_node for SLUB on...
, Christoph Lameter
, (Thu Oct 18, 5:13 am)
Re: [Patch](memory hotplug) Make kmem_cache_node for SLUB on...
, Yasunori Goto
, (Thu Oct 18, 4:33 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Miller
Slow DOWN, please!!!
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Rafael J. Wysocki
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while boot...
git
:
Sander
'struct task_struct' has no member named 'mems_allowed' (was: Re: 2.6.20-rc4-mm1)
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
David Miller
Re: [GIT]: Networking
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
718 guests
online.
Syndicate