Re: [PATCH 02/25] slab: make kmalloc_index() return "unsigned int"

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

 



On Mon, 5 Mar 2018, Alexey Dobriyan wrote:

> 3) in case of SLAB allocators, there are additional limitations
>    *) page->inuse, page->objects are only 16-/15-bit,
>    *) cache size was always 32-bit
>    *) slab orders are small, order 20 is needed to go 64-bit on x86_64
>       (PAGE_SIZE << order)

That changes with large base page size on power and ARM64 f.e. but then
we do not want to encourage larger allocations through slab anyways.

Acked-by: Christoph Lameter <cl@xxxxxxxxx>

--
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