diff options
author | Huang Pei <[email protected]> | 2021-07-21 17:30:45 +0800 |
---|---|---|
committer | Thomas Bogendoerfer <[email protected]> | 2021-08-05 11:45:42 +0200 |
commit | 6aa32467299e9e12280a6aec9dbc21bf2db830b0 (patch) | |
tree | a95ed608d3689256e1ca2e12a950aeb0a7e99f0e /tools/perf/util/trace-event-scripting.c | |
parent | e73f0f0ee7541171d89f2e2491130c7771ba58d3 (diff) |
MIPS: check return value of pgtable_pmd_page_ctor
+. According to Documentation/vm/split_page_table_lock, handle failure
of pgtable_pmd_page_ctor
+. Use GFP_KERNEL_ACCOUNT instead of GFP_KERNEL|__GFP_ACCOUNT
+. Adjust coding style
Fixes: ed914d48b6a1 ("MIPS: add PMD table accounting into MIPS')
Reported-by: Joshua Kinard <[email protected]>
Signed-off-by: Huang Pei <[email protected]>
Reviewed-by: Joshua Kinard <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions