Re: [PATCH 1/3] slub: extend slowpath __slab_free() to handle bulk free

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

 



On Wed, 15 Jul 2015, Jesper Dangaard Brouer wrote:

> This allows a list of object to be free'ed using a single locked
> cmpxchg_double.

Well not really. The objects that are to be freed on the list have
additional requirements. They must all be objects from the *same* slab
page. This needs to be pointed out everywhere otherwise people will try to free
random objects via this function and we will have weird failure cases.


--
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]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]