diff options
author | Carlos Garcia <carlos@cgarcia.org> | 2014-04-04 22:31:00 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-05-05 15:32:05 +0200 |
commit | c98be0c96db00e9b6b02d31e0fa7590c54cdaaac (patch) | |
tree | 3c189a2a2342bf4454fd8826ad61b2cb84eab6b3 /Documentation/vm | |
parent | 07656d83085dfd3d5eff5d588a6f50c35c853ee0 (diff) |
doc: spelling error changes
Fixed multiple spelling errors.
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Carlos E. Garcia <carlos@cgarcia.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/vm')
-rw-r--r-- | Documentation/vm/transhuge.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/vm/transhuge.txt b/Documentation/vm/transhuge.txt index 4a63953a41f1..6b31cfbe2a9a 100644 --- a/Documentation/vm/transhuge.txt +++ b/Documentation/vm/transhuge.txt @@ -360,13 +360,13 @@ on any tail page, would mean having to split all hugepages upfront in get_user_pages which is unacceptable as too many gup users are performance critical and they must work natively on hugepages like they work natively on hugetlbfs already (hugetlbfs is simpler because -hugetlbfs pages cannot be splitted so there wouldn't be requirement of +hugetlbfs pages cannot be split so there wouldn't be requirement of accounting the pins on the tail pages for hugetlbfs). If we wouldn't account the gup refcounts on the tail pages during gup, we won't know anymore which tail page is pinned by gup and which is not while we run split_huge_page. But we still have to add the gup pin to the head page too, to know when we can free the compound page in case it's never -splitted during its lifetime. That requires changing not just +split during its lifetime. That requires changing not just get_page, but put_page as well so that when put_page runs on a tail page (and only on a tail page) it will find its respective head page, and then it will decrease the head page refcount in addition to the |