Commit 442f28f7 authored by Nick Chung's avatar Nick Chung Committed by TreeHugger Robot
Browse files

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: default avatarNick Chung <nickchung@google.com>
Change-Id: I5a146c9f5448119129cf34f52d76327c4e3346fc
parent 4554d6ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment