Re: [PATCH 2/4] mm: Send a single IPI to TLB flush multiple pages when unmapping

From: Rik van Riel
Date: Thu Apr 16 2015 - 11:52:52 EST


On 04/16/2015 06:22 AM, Mel Gorman wrote:

> If a clean page is unmapped and not immediately flushed, the
> architecture must guarantee that a write to that page from a CPU
> with a cached TLB entry will trap a page fault.
>
> This is essentially what the kernel already depends on but the window is
> much larger with this patch applied and is worth highlighting.

> Signed-off-by: Mel Gorman <mgorman@xxxxxxx>

Given the architectural guarantee ...

Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>

--
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/