login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
September
»
8
Re: [RFC:Patch: 008/008](memory hotplug) remove_pgdat() function
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Yasunori Goto
Subject:
Re: [RFC:Patch: 008/008](memory hotplug) remove_pgdat() function
Date: Sunday, September 7, 2008 - 8:07 pm
> On Thu, 2008-07-31 at 21:04 +0900, Yasunori Goto wrote:
quoted text
> > > +int remove_pgdat(int nid) > > +{ > > + struct pglist_data *pgdat = NODE_DATA(nid); > > + > > + if (cpus_busy_on_node(nid)) > > + return -EBUSY; > > + > > + if (sections_busy_on_node(pgdat)) > > + return -EBUSY; > > + > > + node_set_offline(nid); > > + synchronize_sched(); > > + synchronize_srcu(&pgdat_remove_srcu); > > + > > + free_pgdat(nid, pgdat); > > + > > + return 0; > > +} > > FWIW synchronize_sched() is the wrong function to use here, > synchronize_rcu() is the right one.
Thanks. I'll fix it. -- Yasunori Goto --
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:
[RFC:Patch: 000/008](memory hotplug) rough idea of pgdat r ...
, Yasunori Goto
, (Thu Jul 31, 4:50 am)
[RFC:Patch: 001/008](memory hotplug) change parameter from ...
, Yasunori Goto
, (Thu Jul 31, 4:55 am)
[RFC:Patch: 002/008](memory hotplug) pgdat_remove_read_loc ...
, Yasunori Goto
, (Thu Jul 31, 4:56 am)
[RFC:Patch: 003/008](memory hotplug) check node online in ...
, Yasunori Goto
, (Thu Jul 31, 4:58 am)
[RFC:Patch: 004/008](memory hotplug) Use lock for for_each ...
, Yasunori Goto
, (Thu Jul 31, 5:00 am)
[RFC:Patch: 005/008](memory hotplug) check node online bef ...
, Yasunori Goto
, (Thu Jul 31, 5:01 am)
[RFC:Patch: 006/008](memory hotplug) kswapd_stop() definition
, Yasunori Goto
, (Thu Jul 31, 5:02 am)
[RFC:Patch: 007/008](memory hotplug) callback routine for ...
, Yasunori Goto
, (Thu Jul 31, 5:03 am)
[RFC:Patch: 008/008](memory hotplug) remove_pgdat() function
, Yasunori Goto
, (Thu Jul 31, 5:04 am)
Re: [RFC:Patch: 000/008](memory hotplug) rough idea of pgd ...
, Christoph Lameter
, (Thu Jul 31, 7:04 am)
Re: [RFC:Patch: 000/008](memory hotplug) rough idea of pgd ...
, Yasunori Goto
, (Fri Aug 1, 2:42 am)
Re: [RFC:Patch: 000/008](memory hotplug) rough idea of pgd ...
, Christoph Lameter
, (Fri Aug 1, 6:51 am)
Re: [RFC:Patch: 000/008](memory hotplug) rough idea of pgd ...
, Yasunori Goto
, (Fri Aug 1, 5:16 pm)
Re: [RFC:Patch: 000/008](memory hotplug) rough idea of pgd ...
, Christoph Lameter
, (Mon Aug 4, 6:25 am)
Re: [RFC:Patch: 000/008](memory hotplug) rough idea of pgd ...
, Yasunori Goto
, (Mon Aug 4, 11:39 pm)
Re: [RFC:Patch: 000/008](memory hotplug) rough idea of pgd ...
, Mel Gorman
, (Tue Aug 5, 4:14 am)
Re: [RFC:Patch: 000/008](memory hotplug) rough idea of pgd ...
, Christoph Lameter
, (Tue Aug 5, 10:08 am)
Re: [RFC:Patch: 008/008](memory hotplug) remove_pgdat() fu ...
, Peter Zijlstra
, (Sat Sep 6, 7:21 am)
Re: [RFC:Patch: 008/008](memory hotplug) remove_pgdat() fu ...
, Yasunori Goto
, (Sun Sep 7, 8:07 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Frederic Weisbecker
[PATCH v2] struct sort_entry has a callback named snprintf that turns an entry int...
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Andrew Morton
Re: [PATCH v3 0/4] Introduce hardware spinlock framework
Ingo Molnar
Re: [GIT PULL] time.c - respin
Jens Axboe
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bo...
git
:
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Junio C Hamano
Re: git-svnimport
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
Michal Sojka
[PATCHv5 1/2] filter-branch: Fix to allow replacing submodules with another content
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
Ursula Braun
[patch 2/8] [PATCH] af_iucv: sync sk shutdown flag if iucv path is quiesced
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
git-commits-head
:
Linux Kernel Mailing List
sata_mv: drop unncessary EH callback resetting
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
ARM: S3C64XX: DMA: Callback with correct buffer pointer
Linux Kernel Mailing List
timer: Try to survive timer callback preempt_count leak
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
openbsd-misc
:
Rene Maroufi
smtpd: Aliases only work with for local alias aliases
Stephen J. Bevan
GRE over IPsec
Christophe Rioux
Implementation example of snmp
Darrin Chandler
Re: strange output on openbsd C code
Nick Holland
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate