Re: [PATCH] mm/mincore: allow for making sys_mincore() privileged

From: Jiri Kosina
Date: Tue Jan 08 2019 - 06:38:00 EST


On Tue, 8 Jan 2019, Bernd Petrovitsch wrote:

> Shouldn't the application use e.g. mlock()/.... to guarantee no page
> faults in the first place?

Calling mincore() on pages you've just mlock()ed is sort of pointless
though.

--
Jiri Kosina
SUSE Labs