On 22.08.24 11:41, Michal Hocko wrote:
On Thu 22-08-24 11:27:25, David Hildenbrand wrote:
[...]
Likely, checkpatch should be updated to warn on any new NOFAIL usage.
What do you expect people to do? I do not see a pattern of nilly-willy
use of the flag (we have less than 200 in the kernel outside of mm,
compare that to 40k GFP_KERNEL allocations). If you warn and the only
answer is shrug and go on then this serves no purpose.
Like the BUG_ON checks I added. Some people still try to ignore them and
we end up in discussions like this when I spot it ;)
--
Cheers,
David / dhildenb