+13
−13
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
First, instead of open-coding the vmalloc() fallback, use the new
kvzalloc() helper. Second, use memalloc_nofs_{save,restore}() instead of
GFP_NOFS, as vmalloc() uses some GFP_KERNEL allocations internally which
could lead to deadlocks.
Signed-off-by:
Omar Sandoval <osandov@fb.com>
Reviewed-by:
David Sterba <dsterba@suse.com>
Signed-off-by:
David Sterba <dsterba@suse.com>