lkml.org 
[lkml]   [2008]   [Mar]   [29]   [last100]   RSS-feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Complete thread (EXPERIMENTAL)
/
DateSat, 29 Mar 2008 13:38:20 +0900
FromKAMEZAWA Hiroyuki <>
SubjectRe: [PATCH RFC] hotplug-memory: refactor online_pages to separate zone growth from page onlining
Digg This

Hi,

On Fri, 28 Mar 2008 17:00:05 -0700
Jeremy Fitzhardinge <jeremy@goop.org> wrote:

- if (onlined_pages)
+ if (onlined_pages) {
+ struct memory_notify arg;
+
+ arg.start_pfn = pfn; /* ? */
+ arg.nr_pages = onlined_pages;
+ arg.status_change_nid = -1; /* ? */
+
memory_notify(MEM_ONLINE, &arg);
+ }
I think you should add "onlined" member instead of reusing nr_pages.
But, in general, I have no objection to this way.

Thanks,
-Kame




\
ISP Services
Valid XHTML 1.0!\ /
Valid CSS! Last update: 2008-03-29 05:39    [W:0.744 / U:0.010 seconds]
©2003-2005 Jasper Spaans