lkml.org 
[lkml]   [2021]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [linux-next] rootfs: rootflags take effect when mount rootfs
On Sat, Jun 26, 2021 at 09:16:55AM +0800, Weilong Chen wrote:
> The kernel root filesystem may use the rootflags parameters
> when mount, especially for tmpfs, to setup a variety of features.
>
> For example:
> 1. Add 'rootflags=huge=always' to boot args.
> 2. When the OS bootup:
> rootfs on / type rootfs (..., huge=always)
> Then we can get the hugepage performance improvement of tmpfs.
>
> Signed-off-by: Weilong Chen <chenweilong@huawei.com>
> ---
> fs/namespace.c | 5 +++--
> include/linux/init.h | 2 +-
> init/do_mounts.c | 4 +++-
> 3 files changed, 7 insertions(+), 4 deletions(-)

No documentation update for this new user/kernel api you added?

\
 
 \ /
  Last update: 2021-06-27 12:47    [W:0.031 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site