Commit 037dd8f9 authored by Angus Chen's avatar Angus Chen Committed by Andrew Morton
Browse files

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: default avatarAngus Chen <angus.chen@jaguarmicro.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 40dca9b3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment