On Wed, 21 Feb 2018 10:15:44 -0700 Khalid Aziz <khalid.a...@oracle.com> wrote:

> If a processor supports special metadata for a page, for example ADI
> version tags on SPARC M7, this metadata must be saved when the page is
> swapped out. The same metadata must be restored when the page is swapped
> back in. This patch adds two new architecture specific functions -
> arch_do_swap_page() to be called when a page is swapped in, and
> arch_unmap_one() to be called when a page is being unmapped for swap
> out. These architecture hooks allow page metadata to be saved if the
> architecture supports it.
> Signed-off-by: Khalid Aziz <khalid.a...@oracle.com>
> Cc: Khalid Aziz <kha...@gonehiking.org>
> Acked-by: Jerome Marchand <jmarc...@redhat.com>
> Reviewed-by: Anthony Yznaga <anthony.yzn...@oracle.com>

Acked-by: Andrew Morton <a...@linux-foundation.org>

Reply via email to