Re: [RFC][PATCH 0/3] exec: Moving unshare_files_struct

From: Oleg Nesterov
Date: Mon Sep 17 2018 - 11:59:52 EST


On 09/16, Eric W. Biederman wrote:
>
> Oleg's patch to remove get_files_struct from proc means we don't need
> two counts in files_struct.

So it seems you agree with this patch at least in general.

OK, if nobody else objects I'll split this patch and send the series
tomorrow.

> Eric W. Biederman (3):
> exec: Move unshare_files down to avoid locks being dropped on exec.
> exec: Simplify unshare_files
> exec: Remove reset_files_struct

Reviewed-by: Oleg Nesterov <oleg@xxxxxxxxxx>