Commit 2bff7383 authored by Committed by Andi KleenBrowse files
[PATCH] x86-64: use lru instead of page->index and page->private for pgd lists management.
x86_64 currently simulates a list using the index and private fields of the page struct. Seems that the code was inherited from i386. But x86_64 does not use the slab to allocate pgds and pmds etc. So the lru field is not used by the slab and therefore available. This patch uses standard list operations on page->lru to realize pgd tracking. Signed-off-by: Christoph Lameter <email@example.com> Signed-off-by: Andi Kleen <firstname.lastname@example.org> Cc: Andi Kleen <email@example.com> Signed-off-by: Andrew Morton <firstname.lastname@example.org>
Showing with 6 additions and 15 deletions