mm/vmscan: fix error return in kswapd_run()
Subsystems (3)
PATCH 1/1 mm/vmscan: fix error return in kswapd_run()
Fix the error return value in kswapd_run(). The bug was introduced by commit d5dc0ad928fb9e972001e552597fd0b794863f34 "mm/vmscan: fix error number for failed kthread".
--- mm/vmscan.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
mm/vmscan.c +1 -1
@@ -3188,9 +3188,9 @@ int kswapd_run(int nid)if (IS_ERR (pgdat->kswapd)) {/* failure at boot is fatal */ BUG_ON (system_state ==SYSTEM_BOOTING ); - pgdat->kswapd =NULL ;pr_err ("Failed to start kswapd on node %d\n" , nid); ret =PTR_ERR (pgdat->kswapd); + pgdat->kswapd =NULL ; }return ret; }
Signature · 1 line
1.7.6.1
Quoted 4 lines · Xishi Qiu
Fix the error return value in
kswapd_run(). The bug was introduced by commitd5dc0ad928fb9e972001e552597fd0b794863f34"mm/vmscan: fix error number for failed kthread".
Quoted 28 lines
Signed-off-by Xishi Qiu <[email protected]>---
mm/vmscan.c| 2 +-1 files changed, 1 insertions(+), 1 deletions(-)mm/vmscan.c +1
-1@@ -3188,9 +3188,9 @@ int kswapd_run(int nid)if (IS_ERR (pgdat->kswapd)) {/* failure at boot is fatal */ BUG_ON (system_state ==SYSTEM_BOOTING ); - pgdat->kswapd =NULL ;pr_err ("Failed to start kswapd on node %d\n" , nid); ret =PTR_ERR (pgdat->kswapd); + pgdat->kswapd =NULL ; }return ret; }Signature · 7 lines
1.7.6.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 4 lines · Xishi Qiu
Fix the error return value in
kswapd_run(). The bug was introduced by commitd5dc0ad928fb9e972001e552597fd0b794863f34"mm/vmscan: fix error number for failed kthread".
Quoted 28 lines
Signed-off-by Xishi Qiu <[email protected]>---
mm/vmscan.c| 2 +-1 files changed, 1 insertions(+), 1 deletions(-)mm/vmscan.c +1
-1@@ -3188,9 +3188,9 @@ int kswapd_run(int nid)if (IS_ERR (pgdat->kswapd)) {/* failure at boot is fatal */ BUG_ON (system_state ==SYSTEM_BOOTING ); - pgdat->kswapd =NULL ;pr_err ("Failed to start kswapd on node %d\n" , nid); ret =PTR_ERR (pgdat->kswapd); + pgdat->kswapd =NULL ; }return ret; }Signature · 7 lines
1.7.6.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 5 lines · Xishi Qiu
Fix the error return value in
kswapd_run(). The bug was introduced by commitd5dc0ad928fb9e972001e552597fd0b794863f34"mm/vmscan: fix error number for failed kthread".Signed-off-by Xishi Qiu <[email protected]>
Signature · 7 lines
All rights reversed -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>