Re: [PATCH v2] xfs: handle register_shrinker error

From: Tetsuo Handa
Date: Sat Nov 25 2017 - 21:15:34 EST


Dave Chinner wrote:
> IOWs, we don't actually need to touch this code, but if you really
> must, just remove the KM_NOFS tag.

OK. Then, please remove KM_NOFS. GFP_KERNEL is safer than GFP_NOFS
in the sense that it won't cause OOM lockup due to unable to invoke
the OOM killer.