* [PATCH] hugetlbfs: document that sticky mounts are allowed
@ 2014-09-04 13:20 Kirill Smelkov
2014-09-04 17:14 ` Ken Chen
0 siblings, 1 reply; 5+ messages in thread
From: Kirill Smelkov @ 2014-09-04 13:20 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-doc, linux-kernel, Kirill Smelkov, Ken Chen
Commit 75897d60 (hugetlb: allow sticky directory mount option) added
support for mounting hugetlbfs with sticky option set, like /tmp is
usually mounted, but forgot to document that.
Cc: Ken Chen <kenchen@google.com>
Signed-off-by: Kirill Smelkov <kirr@nexedi.com>
---
Documentation/vm/hugetlbpage.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/vm/hugetlbpage.txt b/Documentation/vm/hugetlbpage.txt
index bdd4bb9..b64e0af 100644
--- a/Documentation/vm/hugetlbpage.txt
+++ b/Documentation/vm/hugetlbpage.txt
@@ -274,7 +274,7 @@ This command mounts a (pseudo) filesystem of type hugetlbfs on the directory
/mnt/huge. Any files created on /mnt/huge uses huge pages. The uid and gid
options sets the owner and group of the root of the file system. By default
the uid and gid of the current process are taken. The mode option sets the
-mode of root of file system to value & 0777. This value is given in octal.
+mode of root of file system to value & 01777. This value is given in octal.
By default the value 0755 is picked. The size option sets the maximum value of
memory (huge pages) allowed for that filesystem (/mnt/huge). The size is
rounded down to HPAGE_SIZE. The option nr_inodes sets the maximum number of
--
2.1.0.61.g11be0d6
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] hugetlbfs: document that sticky mounts are allowed
2014-09-04 13:20 [PATCH] hugetlbfs: document that sticky mounts are allowed Kirill Smelkov
@ 2014-09-04 17:14 ` Ken Chen
2014-10-22 15:54 ` [PATCH,RESEND] " Kirill Smelkov
0 siblings, 1 reply; 5+ messages in thread
From: Ken Chen @ 2014-09-04 17:14 UTC (permalink / raw)
To: Kirill Smelkov; +Cc: Andrew Morton, linux-doc, linux-kernel
On Thu, Sep 4, 2014 at 6:20 AM, Kirill Smelkov <kirr@nexedi.com> wrote:
> Commit 75897d60 (hugetlb: allow sticky directory mount option) added
> support for mounting hugetlbfs with sticky option set, like /tmp is
> usually mounted, but forgot to document that.
>
> Cc: Ken Chen <kenchen@google.com>
> Signed-off-by: Kirill Smelkov <kirr@nexedi.com>
> ---
> Documentation/vm/hugetlbpage.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/vm/hugetlbpage.txt b/Documentation/vm/hugetlbpage.txt
> index bdd4bb9..b64e0af 100644
> --- a/Documentation/vm/hugetlbpage.txt
> +++ b/Documentation/vm/hugetlbpage.txt
> @@ -274,7 +274,7 @@ This command mounts a (pseudo) filesystem of type hugetlbfs on the directory
> /mnt/huge. Any files created on /mnt/huge uses huge pages. The uid and gid
> options sets the owner and group of the root of the file system. By default
> the uid and gid of the current process are taken. The mode option sets the
> -mode of root of file system to value & 0777. This value is given in octal.
> +mode of root of file system to value & 01777. This value is given in octal.
> By default the value 0755 is picked. The size option sets the maximum value of
> memory (huge pages) allowed for that filesystem (/mnt/huge). The size is
> rounded down to HPAGE_SIZE. The option nr_inodes sets the maximum number of
Acked-by: Ken Chen <kenchen@google.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH,RESEND] hugetlbfs: document that sticky mounts are allowed
2014-09-04 17:14 ` Ken Chen
@ 2014-10-22 15:54 ` Kirill Smelkov
2014-10-22 18:28 ` Jonathan Corbet
0 siblings, 1 reply; 5+ messages in thread
From: Kirill Smelkov @ 2014-10-22 15:54 UTC (permalink / raw)
To: Jonathan Corbet; +Cc: Ken Chen, Andrew Morton, linux-doc, linux-kernel
(resending to new documentation maintainer, as the original patch
seemingly got lost)
Jonathan,
Please apply the below patch documenting that hugetlbfs can be sticky-mounted.
Thanks beforehand,
Kirill
On Thu, Sep 04, 2014 at 10:14:31AM -0700, Ken Chen wrote:
> On Thu, Sep 4, 2014 at 6:20 AM, Kirill Smelkov <kirr@nexedi.com> wrote:
> > Commit 75897d60 (hugetlb: allow sticky directory mount option) added
> > support for mounting hugetlbfs with sticky option set, like /tmp is
> > usually mounted, but forgot to document that.
> >
> > Cc: Ken Chen <kenchen@google.com>
> > Signed-off-by: Kirill Smelkov <kirr@nexedi.com>
> > ---
> > Documentation/vm/hugetlbpage.txt | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/Documentation/vm/hugetlbpage.txt b/Documentation/vm/hugetlbpage.txt
> > index bdd4bb9..b64e0af 100644
> > --- a/Documentation/vm/hugetlbpage.txt
> > +++ b/Documentation/vm/hugetlbpage.txt
> > @@ -274,7 +274,7 @@ This command mounts a (pseudo) filesystem of type hugetlbfs on the directory
> > /mnt/huge. Any files created on /mnt/huge uses huge pages. The uid and gid
> > options sets the owner and group of the root of the file system. By default
> > the uid and gid of the current process are taken. The mode option sets the
> > -mode of root of file system to value & 0777. This value is given in octal.
> > +mode of root of file system to value & 01777. This value is given in octal.
> > By default the value 0755 is picked. The size option sets the maximum value of
> > memory (huge pages) allowed for that filesystem (/mnt/huge). The size is
> > rounded down to HPAGE_SIZE. The option nr_inodes sets the maximum number of
>
> Acked-by: Ken Chen <kenchen@google.com>
---- 8< ----
From: Kirill Smelkov <kirr@nexedi.com>
Date: Thu, 4 Sep 2014 17:13:00 +0400
Subject: [PATCH] hugetlbfs: document that sticky mounts are allowed
Commit 75897d60 (hugetlb: allow sticky directory mount option) added
support for mounting hugetlbfs with sticky option set, like /tmp is
usually mounted, but forgot to document that.
Cc: Ken Chen <kenchen@google.com>
Signed-off-by: Kirill Smelkov <kirr@nexedi.com>
Acked-by: Ken Chen <kenchen@google.com>
---
Documentation/vm/hugetlbpage.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/vm/hugetlbpage.txt b/Documentation/vm/hugetlbpage.txt
index bdd4bb9..b64e0af 100644
--- a/Documentation/vm/hugetlbpage.txt
+++ b/Documentation/vm/hugetlbpage.txt
@@ -274,7 +274,7 @@ This command mounts a (pseudo) filesystem of type hugetlbfs on the directory
/mnt/huge. Any files created on /mnt/huge uses huge pages. The uid and gid
options sets the owner and group of the root of the file system. By default
the uid and gid of the current process are taken. The mode option sets the
-mode of root of file system to value & 0777. This value is given in octal.
+mode of root of file system to value & 01777. This value is given in octal.
By default the value 0755 is picked. The size option sets the maximum value of
memory (huge pages) allowed for that filesystem (/mnt/huge). The size is
rounded down to HPAGE_SIZE. The option nr_inodes sets the maximum number of
--
2.1.0.61.g11be0d6
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH,RESEND] hugetlbfs: document that sticky mounts are allowed
2014-10-22 15:54 ` [PATCH,RESEND] " Kirill Smelkov
@ 2014-10-22 18:28 ` Jonathan Corbet
2014-10-23 7:28 ` Kirill Smelkov
0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Corbet @ 2014-10-22 18:28 UTC (permalink / raw)
To: Kirill Smelkov; +Cc: Ken Chen, Andrew Morton, linux-doc, linux-kernel
On Wed, 22 Oct 2014 19:54:46 +0400
Kirill Smelkov <kirr@nexedi.com> wrote:
> Please apply the below patch documenting that hugetlbfs can be sticky-mounted.
It documents it in a rather obscure way...but, then, to be clear, that
document needs a lot of help in general.
Applied. Redundant Cc tag removed.
Thanks,
jon
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH,RESEND] hugetlbfs: document that sticky mounts are allowed
2014-10-22 18:28 ` Jonathan Corbet
@ 2014-10-23 7:28 ` Kirill Smelkov
0 siblings, 0 replies; 5+ messages in thread
From: Kirill Smelkov @ 2014-10-23 7:28 UTC (permalink / raw)
To: Jonathan Corbet; +Cc: Ken Chen, Andrew Morton, linux-doc, linux-kernel
On Wed, Oct 22, 2014 at 02:28:26PM -0400, Jonathan Corbet wrote:
> On Wed, 22 Oct 2014 19:54:46 +0400
> Kirill Smelkov <kirr@nexedi.com> wrote:
>
> > Please apply the below patch documenting that hugetlbfs can be sticky-mounted.
>
> It documents it in a rather obscure way...but, then, to be clear, that
> document needs a lot of help in general.
I agree the documentation is a bit obscure and it was not a proper fix,
but "let's at least restore consistency between .txt & .c"
> Applied. Redundant Cc tag removed.
Thanks,
Kirill
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-10-23 7:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-04 13:20 [PATCH] hugetlbfs: document that sticky mounts are allowed Kirill Smelkov
2014-09-04 17:14 ` Ken Chen
2014-10-22 15:54 ` [PATCH,RESEND] " Kirill Smelkov
2014-10-22 18:28 ` Jonathan Corbet
2014-10-23 7:28 ` Kirill Smelkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®