Re: [RFC] apm-emulation: implement notify/ack for /sys/power/state events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Yes, I think it should go through the suspend tree, so that we can avoid adding
> this export.  It would be confusing otherwise.

Yes, but I think it's a fix for a regression on 2.6.24, so benh may want
to get it in there.

> > +		 * FIXME: is the suspends_pending == 1 test racy?
> 
> Make suspends_pending atomic?  Then, you'd not need the locking around it.

Yeah, I guess that's the best way to handle it. I'll send an updated
patch.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux