> 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