Re: [PATCH 1/5] freepgt: free_pgtables use vma list

David S. Miller
2005-03-22T18:06:22Z

On Tue, 22 Mar 2005 15:14:54 +1100
Nick Piggin <nickpiggin@yahoo.com.au> wrote:

> For example, you may have a single page (start,end) address range
> to free, but if this is enclosed by a large enough (floor,ceiling)
> then it may free an entire pgd entry.
>
> I assume the intention of the API would be to provide the full
> pgd width in that case?

Yes, that is what should happen if the full PGD entry is liberated.

Any time page table chunks are liberated, they have to be included
in the range passed to the flush_tlb_pgtables() call.