Re: [PATCH 3/3] mm/mincore: provide mapped status when cached status is not allowed

From: Michal Hocko
Date: Fri Feb 01 2019 - 04:11:57 EST

On Fri 01-02-19 10:04:23, Vlastimil Babka wrote:
> The side channel exists anyway as long as process can e.g. check if
> its rss shrinked, and I doubt we are going to remove that possibility.

Well, but rss update will not tell you that the page has been faulted in
which is the most interesting part. You shouldn't be able to sniff on
/proc/$vicimt/smaps as an attacker.
Michal Hocko