summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/x86-android-tablets/Makefile
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2026-11-13 21:02:52 +0800
committerLinus Torvalds <torvalds@linux-foundation.org>2026-12-01 08:59:52 -0800
commit693c2e04e3f1d4c59af236e1211b7b8cb165a790 (patch)
treec2ddff65ad678839e4004d5e4f7f5d28aadd0e80 /drivers/platform/x86/x86-android-tablets/Makefile
parent1ec0c4729b0d5827e0f1049295333cd07d8bf968 (diff)
mm: kvmalloc: Bail if called with soft or hard IRQs disabledHEADmaster
The function kvmalloc may call vmalloc under the hood even when used with GFP_ATOMIC. However, vmalloc uses naked spin locks so it must not be called if the caller already holds spin locks that can be used in hard or soft IRQ context. Use the heuristic irqs_disabled() || in_softirq() to detect such callers and prevent them from using vmalloc. Reported-by: Liam R. Howlett (Google) <liam@infradead.org> Fixes: c6307674ed82 ("mm: kvmalloc: add non-blocking support for vmalloc") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/platform/x86/x86-android-tablets/Makefile')
0 files changed, 0 insertions, 0 deletions