Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Full form of ttwu in the scheduling code of the linux kernel

I know this is kind of silly, but I tried to find out online, but couldnt.

What is the full-form of ttwu in the scheduler code of the linux kernel. It can be seen as a number of function prefixes, namely,

ttwu_do_wakeup
ttwu_do_activate
ttwu_queue_remote
ttwu_activate
.. and many more
like image 651
Haris Avatar asked Oct 31 '25 05:10

Haris


1 Answers

I would assume it stands for try_to_wake_up. See for example the comment in kernel/sched/sched.h:

 981     /* try_to_wake_up() stats */
 982     unsigned int        ttwu_count;
 983     unsigned int        ttwu_local;
like image 86
walnut Avatar answered Nov 03 '25 01:11

walnut