mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-18 18:15:59 +00:00
Map an mutex_lock_interruptible() error return into ERESTARTSYS, as the only possible error from mutex_lock_interruptible is EINTR, and that will only happen if signal_pending() causes the mutex lock attempt to abort. This still allows signals to be delivered ASAP, which is much nicer than just doing mutex_lock, and still shadows userspace from EINTR when SA_RESTART is active. Problem reported by Peter Jordan. Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Cc: Jean Delvare <khali@linux-fr.org> Cc: Peter Jordan <usernetwork@gmx.info> Cc: Richard Neill <rn214@hermes.cam.ac.uk> Signed-off-by: Len Brown <len.brown@intel.com> |
History
|
|
|---|---|---|
| .. | ||
| hdpuftrs | ||
| ibmasm | ||
| asus-laptop.c | ||
| atmel-ssc.c | ||
| eeprom_93cx6.c | ||
| fujitsu-laptop.c | ||
| ioc4.c | ||
| Kconfig | ||
| lkdtm.c | ||
| Makefile | ||
| msi-laptop.c | ||
| phantom.c | ||
| sony-laptop.c | ||
| thinkpad_acpi.c | ||
| thinkpad_acpi.h | ||
| tifm_7xx1.c | ||
| tifm_core.c | ||