Re: mm: use down_read_killable for locking mmap_sem in access_remote_vm
From: Michal Koutný
Date: Thu May 16 2019 - 13:02:38 EST
On Wed, May 15, 2019 at 11:48:32AM +0300, Konstantin Khlebnikov <khlebnikov@xxxxxxxxxxxxxx> wrote:
> This function ignores any error like reading from unmapped area and
> returns only size of successful transfer. It never returned any error codes.
This is a point I missed. Hence no need to adjust consumers of
__access_remote_vm() (they won't actually handle -EINTR correctly w/out
further changes). This beats my original idea with simplicity.
Reviewed-by: Michal Koutný <mkoutny@xxxxxxxx>
Michal