Re: [PATCH] Don't add empty PTE's to mmu_gathers

Rik van Riel (riel@redhat.com)
Wed, 14 May 2003 15:32:19 -0400 (EDT)


On Mon, 12 May 2003, Martin Hicks wrote:

> Here's a patch to make it so empty PTEs are not added to mmu_gathers.
> This is useful on machines with sparse memory. This has been tested on
> ia64 and x86. Patch is against 2.4.21-bk.

The patch looks good. We will still flush everything in the
TLB that we used to flush before, but by not using struct
page in the buffer for non-existant and reserved pages we can
flush the TLB in much larger intervals.

Marcelo, could you please apply this patch for 2.4.22-pre ?

(I'll keep a copy here and will resend it to you if needed)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/