mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
11611d254c
A freezable kernel thread can enter frozen state during freezing by either calling try_to_freeze() or using wait_event_freezable() and its variants. So for the following snippet of code in a kernel thread loop: wait_event_interruptible(); try_to_freeze(); We can change it to a simple wait_event_freezable() and then eliminate a function call. Signed-off-by: Kevin Hao <haokexin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20231221044510.1802429-3-haokexin@gmail.com |
||
---|---|---|
.. | ||
asp834x.c | ||
Kconfig | ||
km83xx.c | ||
Makefile | ||
mcu_mpc8349emitx.c | ||
misc.c | ||
mpc83xx.h | ||
mpc830x_rdb.c | ||
mpc831x_rdb.c | ||
mpc832x_rdb.c | ||
mpc834x_itx.c | ||
mpc836x_rdk.c | ||
mpc837x_rdb.c | ||
suspend-asm.S | ||
suspend.c | ||
usb_831x.c | ||
usb_834x.c | ||
usb_837x.c |