Re: [PATCH] drm: fix call_kern.cocci warnings (fwd)

From: Maarten Lankhorst
Date: Thu Oct 25 2018 - 03:51:41 EST


Op 25-10-18 om 08:53 schreef Christian KÃnig:
> Am 25.10.18 um 03:28 schrieb Zhou, David(ChunMing):
>> Reviewed-by: Chunming Zhou <david1.zhou@xxxxxxx>
>
> NAK, GFP_ATOMIC should be avoided.
>
> The correct solution is to move the allocation out of the spinlock or drop the lock and reacquire.
Yeah +1. Especially in a case like this where it's obvious to prevent. :)