diff options
| author | Miaohe Lin <[email protected]> | 2022-04-28 23:16:18 -0700 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-04-28 23:16:18 -0700 |
| commit | 3109de308987ceae413ee015038d51e2a86c7806 (patch) | |
| tree | 675ccc19df04779c892c3d9e25eb5e86bbc3d388 /tools/perf/scripts/python | |
| parent | 556162bf3a8c27dd6aab180e9a1427d945a708e9 (diff) | |
mm: compaction: avoid possible NULL pointer dereference in kcompactd_cpu_online
It's possible that kcompactd_run could fail to run kcompactd for a hot
added node and leave pgdat->kcompactd as NULL. So pgdat->kcompactd should
be checked here to avoid possible NULL pointer dereference.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Cc: Charan Teja Kalla <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Pintu Kumar <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions