RE: [RFC] Unnecessary work and noise from mce code in suspend/resume path

From: Luck, Tony
Date: Fri May 23 2014 - 14:53:28 EST


>> When we suspend a laptop we offline all but one processor. But
>> the mce code registers on a notify chain so it can clean up
>> some sysfs entries. Part of that code calls device_unregister()
>> which will fire kobject_uevent() which might wake up some user
>> code that is watching for such things.
>
> The issue being?
>
> It is not clear from the text what actually is the problem.

We are trying to suspend - and yet we are now having udev
woken up to run some scripts ... that will burn power ... which
is what we are trying to avoid when we shut the lid of the
laptop. There might be some Android-isms involved too
that I don't understand.

-Tony
N‹§²æ¸›yú²X¬¶ÇvØ–)Þ{.nlj·¥Š{±‘êX§¶›¡Ü}©ž²ÆzÚj:+v‰¨¾«‘êZ+€Êzf£¢·hšˆ§~†­†Ûÿû®w¥¢¸?™¨è&¢)ßf”ùy§m…á«a¶Úÿ 0¶ìå