Re: [RFC PATCH v3] sparc64: Add support for Application Data Integrity (ADI)

From: Dave Hansen
Date: Fri Jan 06 2017 - 10:37:08 EST


On 01/06/2017 07:32 AM, Khalid Aziz wrote:
> I agree with you on simplicity first. Subpage granularity is complex,
> but the architecture allows for subpage granularity. Maybe the right
> approach is to support this at page granularity first for swappable
> pages and then expand to subpage granularity in a subsequent patch?
> Pages locked in memory can already use subpage granularity with my patch.

What do you mean by "locked in memory"? mlock()'d memory can still be
migrated around and still requires "swap" ptes, for instance.