[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wjfD_b6fS+tYp68gVFw9qB7FgTGa-coNHZeho0B6t3nMg@mail.gmail.com>
Date: Sun, 15 Dec 2019 11:50:46 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Dominik Brodowski <linux@...inikbrodowski.net>
Cc: Alexander Viro <viro@...iv.linux.org.uk>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J . Wysocki" <rafael@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Ingo Molnar <mingo@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [GIT PULL] remove ksys_mount() and ksys_dup()
On Thu, Dec 12, 2019 at 10:14 AM Dominik Brodowski
<linux@...inikbrodowski.net> wrote:
>
> the fifth parameter (void *data)
> is either NULL or refers to a full page (only occurence
> in init/do_mounts.c::do_mount_root()).
We probably should aim for the fifth parameter being a "buf, len" pair
at some point.
Then the system call interface still needs to copy the whole page and
pass in PAGE_SIZE as the length, but it would be a better model than
the magical fixed "it's always one page". And the kernel init sequence
wouldn't need that silly temporary page any more.
Linus
Powered by blists - more mailing lists