summaryrefslogtreecommitdiff
path: root/lib/math/rational.c
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2019-12-05 03:51:53 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2019-12-05 06:44:13 +0300
commitdc5c5ad79f0cc2d8756d161dbdee7b370f35f5bb (patch)
treebe029cd46a48c5ec5b84deab7c0c16f8c37a9112 /lib/math/rational.c
parent8b7569a224a18953b9aee29c375e439b8a6eeb05 (diff)
downloadlinux-dc5c5ad79f0cc2d8756d161dbdee7b370f35f5bb.tar.xz
lib/test_meminit.c: add bulk alloc/free tests
kmem_cache_alloc_bulk/kmem_cache_free_bulk are used to make multiple allocations of the same size to avoid the overhead of multiple kmalloc/kfree calls. Extend the kmem_cache tests to make some calls to these APIs. Link: http://lkml.kernel.org/r/20191107191447.23058-1-labbott@redhat.com Signed-off-by: Laura Abbott <labbott@redhat.com> Reviewed-by: Kees Cook <keescook@chromium.org> Tested-by: Alexander Potapenko <glider@google.com> Cc: Laura Abbott <labbott@redhat.com> Cc: Christoph Lameter <cl@linux.com> Cc: Nick Desaulniers <ndesaulniers@google.com> Cc: Kostya Serebryany <kcc@google.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Sandeep Patil <sspatil@android.com> Cc: Jann Horn <jannh@google.com> Cc: Marco Elver <elver@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/math/rational.c')
0 files changed, 0 insertions, 0 deletions