login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
12
Re: [Patch 001/002] Make description of memory hotplug notifier in document
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Yasunori Goto <y-goto@...>
To: Christoph Lameter <clameter@...>
Cc: Andrew Morton <akpm@...>, Hiroyuki KAMEZAWA <kamezawa.hiroyu@...>, Linux Kernel ML <linux-kernel@...>, linux-mm <linux-mm@...>
Subject:
Re: [Patch 001/002] Make description of memory hotplug notifier in document
Date: Friday, October 12, 2007 - 12:33 am
> Looks good. Some suggestions on improving the wording. Thanks! I'll fix them. Bye.
quoted text
> > On Fri, 12 Oct 2007, Yasunori Goto wrote: > > > +MEMORY_GOING_ONLINE > > + This is notified before memory online. If some structures must be prepared > > + for new memory, it should be done at this event's callback. > > + The new onlining memory can't be used yet. > > Generated before new memory becomes available in order to be able to > prepare subsystems to handle memory. The page allocator is still unable > to allocate from the new memory. > > > +MEMORY_CANCEL_ONLINE > > + If memory online fails, this event is notified for rollback of setting at > > + MEMORY_GOING_ONLINE. > > + (Currently, this event is notified only the case which a callback routine > > + of MEMORY_GOING_ONLINE fails). > > Generated if MEMORY_GOING_ONLINE fails. > > > +MEMORY_ONLINE > > + This event is called when memory online is completed. The page allocator uses > > + new memory area before this notification. In other words, callback routine > > + use new memory area via page allocator. > > + The failures of callbacks of this notification will be ignored. > > Generated when memory has succesfully brought online. The callback may > allocate from the new memory. > > > +MEMORY_GOING_OFFLINE > > + This is notified on halfway of memory offline. The offlining pages are > > + isolated. In other words, the page allocater doesn't allocate new pages from > > + offlining memory area at this time. If callback routine freed some pages, > > + they are not used by the page allocator. > > + This is good place for shrinking cache. (If possible, it is desirable to > > + migrate to other area.) > > Generated to begin the process of offlining memory. Allocations are no > longer possible from the memory but some of the memory to be offlined > is still in use. The callback can be used to free memory known to a > subsystem from the indicated node. > > > +MEMORY_CANCEL_OFFLINE > > + If memory offline fails, this event is notified for rollback against > > + MEMORY_GOING_OFFLINE. The page allocator will use target memory area after > > + this callback again. > > Generated if MEMORY_GOING_OFFLINE fails. Memory is available again from > the node that we attempted to offline. > > > + +MEMORY_OFFLINE > > Generated after offlining memory is complete.
-- 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:
[Patch 000/002] Rearrange notifier of memory hotplug
, Yasunori Goto
, (Thu Oct 11, 10:18 pm)
[Patch 000/002] Make kmem_cache_node for SLUB on memory onli...
, Yasunori Goto
, (Thu Oct 11, 10:24 pm)
[Patch 002/002] Create/delete kmem_cache_node for SLUB on me...
, Yasunori Goto
, (Thu Oct 11, 10:29 pm)
Re: [Patch 002/002] Create/delete kmem_cache_node for SLUB o...
, Christoph Lameter
, (Fri Oct 12, 12:09 am)
Re: [Patch 002/002] Create/delete kmem_cache_node for SLUB o...
, Yasunori Goto
, (Fri Oct 12, 2:15 am)
Re: [Patch 002/002] Create/delete kmem_cache_node for SLUB o...
, Christoph Lameter
, (Fri Oct 12, 1:19 pm)
Re: [Patch 002/002] Create/delete kmem_cache_node for SLUB o...
, Yasunori Goto
, (Sat Oct 13, 1:00 am)
[Patch 001/002] extract kmem_cache_shrink
, Yasunori Goto
, (Thu Oct 11, 10:27 pm)
Re: [Patch 001/002] extract kmem_cache_shrink
, Christoph Lameter
, (Fri Oct 12, 12:09 am)
Re: [Patch 001/002] extract kmem_cache_shrink
, Yasunori Goto
, (Fri Oct 12, 12:41 am)
[Patch 002/002] rearrange patch for notifier of memory hotplug
, Yasunori Goto
, (Thu Oct 11, 10:22 pm)
[Patch 001/002] Make description of memory hotplug notifier ...
, Yasunori Goto
, (Thu Oct 11, 10:20 pm)
Re: [Patch 001/002] Make description of memory hotplug notif...
, Christoph Lameter
, (Fri Oct 12, 12:18 am)
Re: [Patch 001/002] Make description of memory hotplug notif...
, Yasunori Goto
, (Fri Oct 12, 12:33 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rafael J. Wysocki
[Bug #10493] mips BCM47XX compile error
Ingo Molnar
[patch 02/13] syslets: add syslet.h include file, user API/ABI definitions
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Andrea Arcangeli
[PATCH 00 of 11] mmu notifier #v16
git
:
linux-netdev
:
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Linus Torvalds
Re: [GIT]: Networking
Mark Lord
Re: [BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
803 guests
online.
Online users
strcmp
forgive13
Nelson
Syndicate