commit | 037dd8f9024bdd5540e2b66eba56c279f740b23c | [log] [tgz] |
---|---|---|
author | Angus Chen <angus.chen@jaguarmicro.com> | Wed Sep 06 16:37:00 2023 +0800 |
committer | Andrew Morton <akpm@linux-foundation.org> | Wed Oct 04 10:32:22 2023 -0700 |
tree | 5c29cb3d19f7e55f934da7f82b0477b6f3f48190 | |
parent | 40dca9b3d65a20c4b7a48252ece572132a299302 [diff] |
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>