diff options
author | Nanyong Sun <sunnanyong@huawei.com> | 2024-09-05 18:30:28 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-09-10 02:39:15 +0300 |
commit | e4bfc678579eb32360cdd09503c8fe62f943bc3f (patch) | |
tree | 9346952ac4042d4ec4221176856a963686b29fd7 /scripts/gdb/linux/interrupts.py | |
parent | 46dcc7c92e63879a49cfbd99949858df0335a122 (diff) | |
download | linux-e4bfc678579eb32360cdd09503c8fe62f943bc3f.tar.xz |
mm: thp: simplify split_huge_pages_pid()
The helper find_get_task_by_vpid() can totally replace the task_struct
find logic in split_huge_pages_pid(), so use it to simplify the code.
Also delete the needless comments for the helper function name already
explains what it's doing here.
Link: https://lkml.kernel.org/r/20240905153028.1205128-1-sunnanyong@huawei.com
Signed-off-by: Nanyong Sun <sunnanyong@huawei.com>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions