I'm sorry, I think __GFP_NOFAIL should be like this: The __GFP_NOFAIL flag will cause memory to be allocated an infinite number of times until the allocation is successful, but it is best to use it only for very necessary code, and try not to use it. I'm not sure alloc_journal_list function is a very important function here. If it is, this patch ignores it and does not consider it anymore __GFP_NOFAIL allocatiIon problem.