diff options
author | 2023-09-06 16:37:00 +0800 | |
---|---|---|
committer | 2023-10-04 10:32:22 -0700 | |
commit | 037dd8f9024bdd5540e2b66eba56c279f740b23c (patch) | |
tree | 5c29cb3d19f7e55f934da7f82b0477b6f3f48190 /include | |
parent | mm/mm_init.c: remove redundant pr_info when node is memoryless (diff) | |
download | wireguard-linux-037dd8f9024bdd5540e2b66eba56c279f740b23c.tar.xz wireguard-linux-037dd8f9024bdd5540e2b66eba56c279f740b23c.zip |
mm/vmscan: print err before panic
If panic is enable,the err information will not be printed before bugon,
So swap it. Print the return value of PTR_ERR(pgdat->kswapd) also.
Link: https://lkml.kernel.org/r/20230906083700.181-1-angus.chen@jaguarmicro.com
Signed-off-by: Angus Chen <angus.chen@jaguarmicro.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions