Re: [RFC] Add the "icebox"

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

 



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

[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