diff options
| author | Laura Abbott <[email protected]> | 2019-12-05 00:51:53 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-12-05 03:44:13 +0000 |
| commit | dc5c5ad79f0cc2d8756d161dbdee7b370f35f5bb (patch) | |
| tree | be029cd46a48c5ec5b84deab7c0c16f8c37a9112 /lib/genalloc.c | |
| parent | lib/rbtree: get successor's color directly (diff) | |
| download | kernel-dc5c5ad79f0cc2d8756d161dbdee7b370f35f5bb.tar.gz kernel-dc5c5ad79f0cc2d8756d161dbdee7b370f35f5bb.zip | |
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/[email protected]
Signed-off-by: Laura Abbott <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Tested-by: Alexander Potapenko <[email protected]>
Cc: Laura Abbott <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Cc: Kostya Serebryany <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Sandeep Patil <[email protected]>
Cc: Jann Horn <[email protected]>
Cc: Marco Elver <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions
