lkml.org 
[lkml]   [2019]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [GIT PULL] remove ksys_mount() and ksys_dup()
On Thu, Dec 12, 2019 at 10:14 AM Dominik Brodowski
<linux@dominikbrodowski.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

\
 
 \ /
  Last update: 2019-12-15 20:51    [W:0.186 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site