Re: [PATCH 2/3] mm/filemap: initiate readahead even if IOCB_NOWAIT is set for the I/O

From: Jiri Kosina
Date: Thu Jan 31 2019 - 07:08:08 EST


On Thu, 31 Jan 2019, Daniel Gruss wrote:

> If I understood it correctly, this patch just removes the advantages of
> preadv2 over mmmap+access for the attacker.

Which is the desired effect. We are not trying to solve the timing aspect,
as I don't think there is a reasonable way to do it, is there?

--
Jiri Kosina
SUSE Labs