acpi_bus_generate_genetlink_event
It's quite sad that this uses GFP_ATOMIC. Because GFP_ATOMIC is quite unreliable.
Is it just not possible to use GFP_KERNEL here?
If _any_ of the callers of this function could have used GFP_KERNEL then we could at least pass the gfp_t into this function to allow it to use the stronger form where it can do so.
Quoted 5 lines · Andrew Morton
It's quite sad that this uses
GFP_ATOMIC. BecauseGFP_ATOMICis quite unreliable.Is it just not possible to use
GFP_KERNELhere?
I thought of this problem before,
but GFP_ATOMIC is required in some cases.
Quoted 6 lines
If _any_ of the callers of this function could have used
GFP_KERNELthen we
could at least pass thegfp_tinto this function to allow it to use the
stronger form where it can do so.
That makes sense. I'll send an incremental patch soon.
Thanks,
Rui