diff options
author | Angus Chen <angus.chen@jaguarmicro.com> | 2023-09-06 16:37:00 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-10-04 10:32:22 -0700 |
commit | 037dd8f9024bdd5540e2b66eba56c279f740b23c (patch) | |
tree | 5c29cb3d19f7e55f934da7f82b0477b6f3f48190 /mm/shmem.c | |
parent | 40dca9b3d65a20c4b7a48252ece572132a299302 (diff) | |
download | linux-stable-037dd8f9024bdd5540e2b66eba56c279f740b23c.tar.gz linux-stable-037dd8f9024bdd5540e2b66eba56c279f740b23c.tar.bz2 linux-stable-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 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions