| From | Linus Torvalds <> | Date | Thu, 2 Feb 2023 16:16:13 -0800 | 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@oracle.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
|