diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 11:50:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 11:50:34 -0400 |
commit | 1aacb90eaaac057c10fd746e189553e04cfeb291 (patch) | |
tree | eaf5b2eddc9e2e446b5402c106a3bf086aee925a /Documentation/vm | |
parent | b05d59dfceaea72565b1648af929b037b0f96d7f (diff) | |
parent | 31789538e3ba7dd164e063d4978c96af1894be4c (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial into next
Pull trivial tree changes from Jiri Kosina:
"Usual pile of patches from trivial tree that make the world go round"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (23 commits)
staging: go7007: remove reference to CONFIG_KMOD
aic7xxx: Remove obsolete preprocessor define
of: dma: doc fixes
doc: fix incorrect formula to calculate CommitLimit value
doc: Note need of bc in the kernel build from 3.10 onwards
mm: Fix printk typo in dmapool.c
modpost: Fix comment typo "Modules.symvers"
Kconfig.debug: Grammar s/addition/additional/
wimax: Spelling s/than/that/, wording s/destinatary/recipient/
aic7xxx: Spelling s/termnation/termination/
arm64: mm: Remove superfluous "the" in comment
of: Spelling s/anonymouns/anonymous/
dma: imx-sdma: Spelling s/determnine/determine/
ath10k: Improve grammar in comments
ath6kl: Spelling s/determnine/determine/
of: Improve grammar for of_alias_get_id() documentation
drm/exynos: Spelling s/contro/control/
radio-bcm2048.c: fix wrong overflow check
doc: printk-formats: do not mention casts for u64/s64
doc: spelling error changes
...
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 | |||
360 | get_user_pages which is unacceptable as too many gup users are | 360 | get_user_pages which is unacceptable as too many gup users are |
361 | performance critical and they must work natively on hugepages like | 361 | performance critical and they must work natively on hugepages like |
362 | they work natively on hugetlbfs already (hugetlbfs is simpler because | 362 | they work natively on hugetlbfs already (hugetlbfs is simpler because |
363 | hugetlbfs pages cannot be splitted so there wouldn't be requirement of | 363 | hugetlbfs pages cannot be split so there wouldn't be requirement of |
364 | accounting the pins on the tail pages for hugetlbfs). If we wouldn't | 364 | accounting the pins on the tail pages for hugetlbfs). If we wouldn't |
365 | account the gup refcounts on the tail pages during gup, we won't know | 365 | account the gup refcounts on the tail pages during gup, we won't know |
366 | anymore which tail page is pinned by gup and which is not while we run | 366 | anymore which tail page is pinned by gup and which is not while we run |
367 | split_huge_page. But we still have to add the gup pin to the head page | 367 | split_huge_page. But we still have to add the gup pin to the head page |
368 | too, to know when we can free the compound page in case it's never | 368 | too, to know when we can free the compound page in case it's never |
369 | splitted during its lifetime. That requires changing not just | 369 | split during its lifetime. That requires changing not just |
370 | get_page, but put_page as well so that when put_page runs on a tail | 370 | get_page, but put_page as well so that when put_page runs on a tail |
371 | page (and only on a tail page) it will find its respective head page, | 371 | page (and only on a tail page) it will find its respective head page, |
372 | and then it will decrease the head page refcount in addition to the | 372 | and then it will decrease the head page refcount in addition to the |