On Thu 10-03-05 12:37:57, David Zeuthen wrote: > On Thu, 2005-03-10 at 10:56 +0100, Pavel Machek wrote: > > > Is it a problem providing these events? > > > > Why bloat kernel? > > How is this bloating the kernel? Do you disagree that asynchronous > notification is a good thing? I think not because that's exactly why the > kobject_uevent stuff was put it in the kernel in the first place. kobject_uevent in kernel does not mean we have to abuse it for suspend notifycation. (How would that notifycation work, btw? If done asynchronously, system will be suspended before processes will have chance to do anything). 1st explain why such notifycation is needed 2nd we can talk about how to do the notifycation 3rd we create example script and put it into Documentation (We do not have async notify of reboot nor powerdown in kernel; this is similar). -- 64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms