[lkml]   [2011]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: kdump: No udev events for memory hotplug?
On Thu, Oct 27, 2011 at 8:45 PM, Dave Hansen <> wrote:
> On Thu, 2011-10-27 at 09:30 +0200, Heiko Carstens wrote:
>> > Are any events generated for memory add?
>> Looks like uevents are only genereted when memory gets registered and
>> unregistered, but not when when it gets set online or offline.
>> To achieve that you would need to add similar code to
>> store_mem_state()/memory_block_change_state() in drivers/base/memory.c
>> like we have it already in store_online() in drivers/base/cpu.c
> Instead of doing it at that low a level, perhaps we should be generating
> events when 'totalram_pages' changes.  That way, we'll also trigger
> events when things like ballooning happen.

I think we should separate the memory hot-plug issues from ballooning issues,
so probably we need another uevent for this...
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2011-10-27 15:21    [W:0.083 / U:4.740 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site