[PATCH v3 0/2] clean-up for create_kmalloc_caches()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi pals,

I am cleanning up unnecessary code in create_kmalloc_caches(). I added
one more commit to remove the check for NULL kmalloc_cachee according to
the review comments like below.

- David Rientjes suggested moving the check for NULL kmalloc_caches to
new_kmalloc_cache().
- Christoph Lameter suggested skipping the check for the kmalloc caches
already being present.

Thanks,
Hyunmin


Hyunmin Lee (2):
  mm/slub: create kmalloc 96 and 192 caches regardless cache size order
  mm/slub: remove the check for NULL kmalloc_caches

 mm/slab_common.c | 25 +++++++++----------------
 1 file changed, 9 insertions(+), 16 deletions(-)

-- 
2.34.1





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux