[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wj9S93D_U8H82nPJmdd4VB7wYib64oXd-zErs-pT0MAdg@mail.gmail.com>
Date: Thu, 2 Feb 2023 16:16:13 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Mike Christie <michael.christie@...cle.com>
Cc: hch@...radead.org, stefanha@...hat.com, jasowang@...hat.com,
mst@...hat.com, sgarzare@...hat.com,
virtualization@...ts.linux-foundation.org, brauner@...nel.org,
ebiederm@...ssion.com, konrad.wilk@...cle.com,
linux-kernel@...r.kernel.org, Christoph Hellwig <hch@....de>
Subject: Re: [PATCH v11 3/8] fork: add USER_WORKER flag to not dup/clone files
On Thu, Feb 2, 2023 at 3:25 PM Mike Christie
<michael.christie@...cle.com> wrote:
>
> - retval = copy_files(clone_flags, p);
> + retval = copy_files(clone_flags, p,
> + args->worker_flags & USER_WORKER_NO_FILES);
Just to hit the previous email comment home, adding just another
bitfield case would have made this patch simpler, and this would just
be
retval = copy_files(clone_flags, p, args->no_files);
which seems more legible too.
Linus
Powered by blists - more mailing lists