down_killable implementations for every architecture

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

 



As part of the TASK_KILLABLE changes, we're going to need
down_killable().  Unfortunately, semaphores are implemented for every
architecture, which we should probably fix at some point.

On the plane ride down here, I did the necessary changes for each
architecture:

http://parisc-linux.org/~willy/down-killable/

I may have made mistakes.  Things to check:

 - The *_killable* functions should be exported for use by modules.
 - The down_killable implementation needs to check fatal_signal_pending,
   not signal_pending.
 - The task state needs to be set to TASK_KILLABLE, not
   TASK_INTERRUPTIBLE

It should only take a couple of minutes to verify your architecture.

-- 
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."
-
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux