]> git.baikalelectronics.ru Git - kernel.git/commit
syscall: Implement a convinience function restart_syscall
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 13 May 2009 16:55:10 +0000 (16:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 May 2009 05:15:56 +0000 (22:15 -0700)
commitd8389058ac0c018382f6322c63cc35e580e48d00
tree47da7801ef7539260a1a64b41f43ab8131e4f551
parenta3cedbd385348780a57b15ee33abb116d59f4ac1
syscall: Implement a convinience function restart_syscall

Currently when we have a signal pending we have the functionality
to restart that the current system call.  There are other cases
such as nasty lock ordering issues where it makes sense to have
a simple fix that uses try lock and restarts the system call.
Buying time to figure out how to rework the locking strategy.

Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/sched.h