2006-03-20 13:37:40

by Stone Wang

[permalink] [raw]
Subject: [PATCH][4/8] Documentation/vm: minor corrections

Minor corrections of vm documentation.

Signed-off-by: Shaoping Wang <[email protected]>

--
hugetlbpage.txt | 2 +-
locking | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff -urN linux-2.6.15.orig/Documentation/vm/hugetlbpage.txt
linux-2.6.15/Documentation/vm/hugetlbpage.txt
--- linux-2.6.15.orig/Documentation/vm/hugetlbpage.txt 2006-01-02
22:21:10.000000000 -0500
+++ linux-2.6.15/Documentation/vm/hugetlbpage.txt 2006-03-06
06:30:06.000000000 -0500
@@ -59,7 +59,7 @@

This command will try to configure 20 hugepages in the system. The success
or failure of allocation depends on the amount of physically contiguous
-memory that is preset in system at this time. System administrators may want
+memory that is present in system at this time. System administrators may want
to put this command in one of the local rc init file. This will enable the
kernel to request huge pages early in the boot process (when the possibility
of getting physical contiguous pages is still very high).
diff -urN linux-2.6.15.orig/Documentation/vm/locking
linux-2.6.15/Documentation/vm/locking
--- linux-2.6.15.orig/Documentation/vm/locking 2006-01-02
22:21:10.000000000 -0500
+++ linux-2.6.15/Documentation/vm/locking 2006-03-07 03:43:44.000000000 -0500
@@ -37,7 +37,7 @@
4. The exception to this rule is expand_stack, which just
takes the read lock and the page_table_lock, this is ok
because it doesn't really modify fields anybody relies on.
-5. You must be able to guarantee that while holding page_table_lock
+5. You must be able to guarantee that while holding mmap_sem
or page_table_lock of mm A, you will not try to get either lock
for mm B.


2006-03-21 12:57:12

by Nick Piggin

[permalink] [raw]
Subject: Re: [PATCH][4/8] Documentation/vm: minor corrections

Stone Wang wrote:
> Minor corrections of vm documentation.
>

Looks good. Please submit as a standalone patch.

--
SUSE Labs, Novell Inc.

Send instant messages to your online friends http://au.messenger.yahoo.com