mm, kasan: add GFP flags to KASAN API
Add GFP flags to KASAN hooks for future patches to use. This patch is based on the "mm: kasan: unified support for SLUB and SLAB allocators" patch originally prepared by Dmitry Chernenkov. Signed-off-by:Alexander Potapenko <glider@google.com> Cc: Christoph Lameter <cl@linux.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: David Rientjes <rientjes@google.com> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Cc: Andrey Konovalov <adech.fo@gmail.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Konstantin Serebryany <kcc@google.com> Cc: Dmitry Chernenkov <dmitryc@google.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- include/linux/kasan.h 11 additions, 8 deletionsinclude/linux/kasan.h
- include/linux/slab.h 2 additions, 2 deletionsinclude/linux/slab.h
- mm/kasan/kasan.c 8 additions, 7 deletionsmm/kasan/kasan.c
- mm/mempool.c 8 additions, 8 deletionsmm/mempool.c
- mm/slab.c 8 additions, 7 deletionsmm/slab.c
- mm/slab.h 1 addition, 1 deletionmm/slab.h
- mm/slab_common.c 2 additions, 2 deletionsmm/slab_common.c
- mm/slub.c 8 additions, 7 deletionsmm/slub.c
Loading
Please register or sign in to comment