On Wed, 7 Nov 2007, Rafael J. Wysocki wrote: > > P.S.: What about mutual exclusion in kernel/power/user.c? If we stop > > freezing user tasks, there's nothing to prevent more than one task > > holding an open file reference to the snapshot file and submitting > > ioctls concurrently. Maybe the regions covered by pm_mutex should be > > expanded. > > /dev/snapshot can only be open once at a time. What if a process opens /dev/snapshot and then forks a child? Can't the parent and child processes make concurrent ioctl calls? Alan Stern _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm