Rik van Riel writes:
> In order to find the vma and the mm_struct each pte belongs to,
> we can use the ->mapping and ->index fields in the page_struct
> of the page table, with the ->mapping pointing to the mm_struct
> and the ->index containing the offset within the mm_struct
Anonymous pages have no page->mapping, how can this work?
Later,
David S. Miller
davem@redhat.com
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/