Re: [PATCH 0/6] freepgt: free_pgtables shakeup

From: David S. Miller
Date: Sun Mar 27 2005 - 13:22:58 EST


On Sun, 27 Mar 2005 08:57:25 +0100
Russell King <rmk+lkml@xxxxxxxxxxxxxxxx> wrote:

> Unfortunately not - free_pgd_slow doesn't have any knowledge about the
> mm_struct that the pgd was associated with.

You could store the mm pointer in the page struct of the
pgd, we used to that before set_pte_at() existed on
sparc64 and ppc64 for pte level tables.

page->mapping and page->index are basically free game for
tracking information assosciated with page table chunks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/