diff options
author | Kevin Hao <haokexin@gmail.com> | 2023-12-13 17:09:06 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-20 14:48:13 -0800 |
commit | f55afd954c12ae9a0beb242e749d671555334fce (patch) | |
tree | 1097380ec41dc4e0ffbb15c19acd8c41d1a24152 /include/linux/math.h | |
parent | e3898efaffdb8e78639e68e997e3b8b6d0ed4ebc (diff) | |
download | linux-stable-f55afd954c12ae9a0beb242e749d671555334fce.tar.gz linux-stable-f55afd954c12ae9a0beb242e749d671555334fce.tar.bz2 linux-stable-f55afd954c12ae9a0beb242e749d671555334fce.zip |
mm: ksm: remove unnecessary try_to_freeze()
A freezable kernel thread can enter frozen state during freezing by
either calling try_to_freeze() or using wait_event_freezable() and its
variants. However, there is no need to use both methods simultaneously.
Link: https://lkml.kernel.org/r/20231213090906.1070985-1-haokexin@gmail.com
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/math.h')
0 files changed, 0 insertions, 0 deletions