Event: avoid kmalloc(GFP_KERNEL) in spinlock
Use GFP_ATOMIC instead of GFP_KERNEL. We shouldn't
use GFP_KERNEL becasue this to use sleep to get memory
while holding onto spinlock. This conflicts with spinlock using.
Bug: 193158826
Test: GCA, CTS
Signed-off-by:
Nick Chung <nickchung@google.com>
Change-Id: I5a146c9f5448119129cf34f52d76327c4e3346fc
Loading
Please sign in to comment