| Date | Wed, 10 Dec 2014 18:59:11 +0200 | Subject | Re: [PATCH 5/7] slub: Use end_token instead of NULL to terminate freelists | From | Pekka Enberg <> |
| |
On Wed, Dec 10, 2014 at 6:30 PM, Christoph Lameter <cl@linux.com> wrote: > Ending a list with NULL means that the termination of a list is the same > for all slab pages. The pointers of freelists otherwise always are > pointing to the address space of the page. Make termination of a > list possible by setting the lowest bit in the freelist address > and use the start address of a page if no other address is available > for list termination. > > This will allow us to determine the page struct address from a > freelist pointer in the future. > > Signed-off-by: Christoph Lameter <cl@linux.com>
Reviewed-by: Pekka Enberg <penberg@kernel.org>
|