tech-kern archive

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

Re: kmem API to allocate arrays



On Sun, Jul 30, 2017 at 03:30:59PM -0000, Michael van Elst wrote:
> Reallocation is usually a reason for memory fragmentation. I would
> rather try to avoid it instead of making it easier.

Agreeed. Also for kernel drivers, resizing an array allocation is
a very rare operation and no good reason to overcomplicate the api.

Martin


Home | Main Index | Thread Index | Old Index