Re: [PATCH 01/23] slab: make kmalloc_index() return "unsigned int"

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

 



On Fri, 24 Nov 2017 01:16:06 +0300 Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:

> kmalloc_index() return index into an array of kmalloc kmem caches,
> therefore should unsigned.
> 
> Space savings:
> 
> 	add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-6 (-6)
> 	Function                                     old     new   delta
> 	rtsx_scsi_handler                           9116    9114      -2
> 	vnic_rq_alloc                                424     420      -4

While I applaud the use of accurate and appropriate types, that's one
heck of a big patch series.  What do the slab maintainers think?

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[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