[linux-pm] freeze_processes questions

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

 



Hi,

I have two questions regarding freeze_processes():

1) Shouldn't we take the TASK_UNINTERRUPTIBLE state into consideration?  Now
we will fail if a process is sleeping when we try to freeze it.

2) Is it necessary to check p->state == TASK_STOPPED and
p->state == TASK_TRACED twice in a row (once in freezable() and
then again in the next if ())?

Greets,
Rafael


-- 
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
		-- Lewis Carroll "Alice's Adventures in Wonderland"

[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