From: Ingo Molnar Date: Wed, 4 Mar 2009 17:49:19 +0000 (+0100) Subject: Merge branch 'core/locking' into tracing/ftrace X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=28b1bd1cbc33cae95a309691d814399a69cf3070;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git Merge branch 'core/locking' into tracing/ftrace --- 28b1bd1cbc33cae95a309691d814399a69cf3070 diff --cc mm/slob.c index f9cc24688232,1264799df5d1..596152926a8d --- a/mm/slob.c +++ b/mm/slob.c @@@ -464,8 -463,9 +464,10 @@@ void *__kmalloc_node(size_t size, gfp_ { unsigned int *m; int align = max(ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); + void *ret; + lockdep_trace_alloc(flags); + if (size < PAGE_SIZE - align) { if (!size) return ZERO_SIZE_PTR;