diff options
| author | Oleg Nesterov <[email protected]> | 2023-10-30 16:57:10 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-12-10 17:21:25 -0800 |
| commit | 61a7a5e25fe79b6c43f1c49705a0294be113c4a5 (patch) | |
| tree | 247d5acb3d1621879885943b83802dfc064687a9 /include/linux/debugobjects.h | |
| parent | a9a1d6ad668f2ea0b5a77d0c4c7a41446d0801a8 (diff) | |
introduce for_other_threads(p, t)
Cosmetic, but imho it makes the usage look more clear and simple, the new
helper doesn't require to initialize "t".
After this change while_each_thread() has only 3 users, and it is only
used in the do/while loops.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Oleg Nesterov <[email protected]>
Reviewed-by: Christian Brauner <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions