Skip to content
Commit a82268b3 authored by Insu Yun's avatar Insu Yun Committed by Doug Ledford
Browse files

nes: handling failed allocation when creating workqueue



Since create_singlethread_workqueue uses kzalloc internally,
it can fail when the system is under memory pressure, so need
to handle it.

Signed-off-by: default avatarInsu Yun <wuninsu@gmail.com>
Reviewed-by: default avatarLeon Romanovsky <leon@leon.nu>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent bfec53c6
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