Am Dienstag, 24. April 2018, 18:27:12 CEST schrieb Michal Hocko:
> fs/ubifs/debug.c
This one is just for debugging.
So, preallocating + locking would not hurt much.
> fs/ubifs/lprops.c
Ditto.
> fs/ubifs/lpt_commit.c
Here we use it also only in debugging mode and in one case for
fatal error reporting.
No hot paths.
> fs/ubifs/orphan.c
Also only for debugging.
Getting rid of vmalloc with GFP_NOFS in UBIFS is no big problem.
I can prepare a patch.
Thanks,
//richard