Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1390473
| From | Andrew Morton <akpm@linux-foundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 39/41] Documentation: vm: fix spelling mistakes |
| Date | 2016-04-28 21:20 +0200 |
| Message-ID | <rsZDI-PI-15@gated-at.bofh.it> (permalink) |
| References | <rrCzw-4Wc-5@gated-at.bofh.it> <rrIlz-1bx-3@gated-at.bofh.it> <rrIlA-1bx-25@gated-at.bofh.it> <rsUkG-3Su-11@gated-at.bofh.it> <rsUuo-3Xq-55@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, 28 Apr 2016 07:46:07 -0600 Jonathan Corbet <corbet@lwn.net> wrote: > On Thu, 28 Apr 2016 07:31:43 -0600 > Jonathan Corbet <corbet@lwn.net> wrote: > > > On Mon, 25 Apr 2016 07:37:05 +0100 > > Eric Engestrom <eric@engestrom.ch> wrote: > > > > > Documentation/vm/transhuge.txt | 6 +++--- > > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > Applied to the docs tree, thanks. > > Actually, I've just unapplied this one; it conflicts against changes in > Andrew's tree and, thus, linux-next. Andrew, maybe you'd like to take it > on top of what you have now? Sure. That Documentation/vm/transhuge.txt paragraph isn't in great shape so I gave it some extra help. From: Eric Engestrom <eric@engestrom.ch> Subject: Documentation: vm: fix spelling mistakes Signed-off-by: Eric Engestrom <eric@engestrom.ch> Cc: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> --- Documentation/vm/transhuge.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff -puN Documentation/vm/transhuge.txt~documentation-vm-fix-spelling-mistakes Documentation/vm/transhuge.txt --- a/Documentation/vm/transhuge.txt~documentation-vm-fix-spelling-mistakes +++ a/Documentation/vm/transhuge.txt @@ -340,7 +340,7 @@ unaffected. libhugetlbfs will also work == Graceful fallback == -Code walking pagetables but unware about huge pmds can simply call +Code walking pagetables but unaware about huge pmds can simply call split_huge_pmd(vma, pmd, addr) where the pmd is the one returned by pmd_offset. It's trivial to make the code transparent hugepage aware by just grepping for "pmd_offset" and adding split_huge_pmd where @@ -414,7 +414,7 @@ tracking. The alternative is alter ->_ma map/unmap of the whole compound page. We set PG_double_map when a PMD of the page got split for the first time, -but still have PMD mapping. The addtional references go away with last +but still have PMD mapping. The additional references go away with last compound_mapcount. split_huge_page internally has to distribute the refcounts in the head @@ -432,10 +432,10 @@ page->_mapcount. We safe against physical memory scanners too: the only legitimate way scanner can get reference to a page is get_page_unless_zero(). -All tail pages has zero ->_refcount until atomic_add(). It prevent scanner -from geting reference to tail page up to the point. After the atomic_add() -we don't care about ->_refcount value. We already known how many references -with should uncharge from head page. +All tail pages have zero ->_refcount until atomic_add(). This prevents the +scanner from getting a reference to the tail page up to that point. After the +atomic_add() we don't care about the ->_refcount value. We already known how +many references should be uncharged from the head page. For head page get_page_unless_zero() will succeed and we don't mind. It's clear where reference should go after split: it will stay on head page. _
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 00/41] Documentation: fix spelling mistakes Eric Engestrom <eric@engestrom.ch> - 2016-04-25 02:30 +0200
[PATCH 17/41] Documentation: dt: mtd: fix spelling mistake Eric Engestrom <eric@engestrom.ch> - 2016-04-25 02:30 +0200
Re: [PATCH 17/41] Documentation: dt: mtd: fix spelling mistake Rob Herring <robh@kernel.org> - 2016-04-25 16:00 +0200
[PATCH 16/41] Documentation: dt: mmc: fix spelling mistake Eric Engestrom <eric@engestrom.ch> - 2016-04-25 02:30 +0200
Re: [PATCH 16/41] Documentation: dt: mmc: fix spelling mistake Rob Herring <robh@kernel.org> - 2016-04-25 16:00 +0200
[PATCH 01/41] Documentation: debugfs: fix spelling mistake Eric Engestrom <eric@engestrom.ch> - 2016-04-25 02:30 +0200
[PATCH 15/41] Documentation: dt: mfd: fix spelling mistakes Eric Engestrom <eric@engestrom.ch> - 2016-04-25 02:30 +0200
Re: [PATCH 15/41] Documentation: dt: mfd: fix spelling mistakes Rob Herring <robh@kernel.org> - 2016-04-25 16:00 +0200
Re: [PATCH 15/41] Documentation: dt: mfd: fix spelling mistakes Lee Jones <lee.jones@linaro.org> - 2016-04-25 19:00 +0200
Re: [PATCH 15/41] Documentation: dt: mfd: fix spelling mistakes Rob Herring <robh@kernel.org> - 2016-04-26 01:00 +0200
Re: [PATCH 15/41] Documentation: dt: mfd: fix spelling mistakes Lee Jones <lee.jones@linaro.org> - 2016-04-26 08:40 +0200
Re: [PATCH 15/41] Documentation: dt: mfd: fix spelling mistakes Rob Herring <robh@kernel.org> - 2016-04-26 15:40 +0200
Re: [PATCH 15/41] Documentation: dt: mfd: fix spelling mistakes Lee Jones <lee.jones@linaro.org> - 2016-04-26 16:00 +0200
[PATCH 07/41] Documentation: dt: arc: fix spelling mistakes Eric Engestrom <eric@engestrom.ch> - 2016-04-25 02:30 +0200
Re: [PATCH 07/41] Documentation: dt: arc: fix spelling mistakes Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-04-25 11:00 +0200
[PATCH 11/41] Documentation: dt: dma: fix spelling mistake Eric Engestrom <eric@engestrom.ch> - 2016-04-25 02:30 +0200
Re: [PATCH 11/41] Documentation: dt: dma: fix spelling mistake Rob Herring <robh@kernel.org> - 2016-04-25 16:00 +0200
[PATCH 06/41] Documentation: device-mapper: fix spelling mistakes Eric Engestrom <eric@engestrom.ch> - 2016-04-25 02:30 +0200
[PATCH 18/41] Documentation: dt: net: fix spelling mistakes Eric Engestrom <eric@engestrom.ch> - 2016-04-25 02:30 +0200
Re: [PATCH 18/41] Documentation: dt: net: fix spelling mistakes Rob Herring <robh@kernel.org> - 2016-04-25 16:00 +0200
[PATCH 14/41] Documentation: dt: media: fix spelling mistake Eric Engestrom <eric@engestrom.ch> - 2016-04-25 02:30 +0200
Re: [PATCH 14/41] Documentation: dt: media: fix spelling mistake Rob Herring <robh@kernel.org> - 2016-04-25 16:00 +0200
[PATCH 23/41] Documentation: DocBook: fix spelling mistake Eric Engestrom <eric@engestrom.ch> - 2016-04-25 02:40 +0200
[PATCH 22/41] Documentation: dt: soc: fix spelling mistakes Eric Engestrom <eric@engestrom.ch> - 2016-04-25 02:40 +0200
Re: [PATCH 22/41] Documentation: dt: soc: fix spelling mistakes Rob Herring <robh@kernel.org> - 2016-04-25 16:00 +0200
[PATCH 26/41] Documentation: kasan: fix spelling mistake Eric Engestrom <eric@engestrom.ch> - 2016-04-25 02:40 +0200
Re: [PATCH 26/41] Documentation: kasan: fix spelling mistake Randy Dunlap <rdunlap@infradead.org> - 2016-04-25 05:10 +0200
[PATCH 21/41] Documentation: dt: power: fix spelling mistake Eric Engestrom <eric@engestrom.ch> - 2016-04-25 02:40 +0200
Re: [PATCH 21/41] Documentation: dt: power: fix spelling mistake Rob Herring <robh@kernel.org> - 2016-04-25 16:00 +0200
[PATCH 24/41] Documentation: fb: fix spelling mistakes Eric Engestrom <eric@engestrom.ch> - 2016-04-25 02:40 +0200
Re: [PATCH 24/41] Documentation: fb: fix spelling mistakes Tomi Valkeinen <tomi.valkeinen@ti.com> - 2016-05-10 11:10 +0200
[PATCH 25/41] Documentation: filesystems: fix spelling mistakes Eric Engestrom <eric@engestrom.ch> - 2016-04-25 02:40 +0200
Re: [PATCH 25/41] Documentation: filesystems: fix spelling mistakes Steve French <smfrench@gmail.com> - 2016-04-25 04:20 +0200
[PATCH 41/41] Documentation: xillybus: fix spelling mistake Eric Engestrom <eric@engestrom.ch> - 2016-04-25 08:40 +0200
Re: [PATCH 41/41] Documentation: xillybus: fix spelling mistake Jonathan Corbet <corbet@lwn.net> - 2016-04-28 15:40 +0200
[PATCH 28/41] Documentation: locking: fix spelling mistakes Eric Engestrom <eric@engestrom.ch> - 2016-04-25 08:40 +0200
[tip:locking/core] locking/Documentation/lockdep: Fix spelling mistakes tip-bot for Eric Engestrom <tipbot@zytor.com> - 2016-04-28 12:30 +0200
[PATCH 37/41] Documentation: video4linux: fix spelling mistakes Eric Engestrom <eric@engestrom.ch> - 2016-04-25 08:40 +0200
[PATCH 34/41] Documentation: robust-futexes: fix spelling mistakes Eric Engestrom <eric@engestrom.ch> - 2016-04-25 08:40 +0200
Re: [PATCH 34/41] Documentation: robust-futexes: fix spelling mistakes Jonathan Corbet <corbet@lwn.net> - 2016-04-28 15:30 +0200
[PATCH 30/41] Documentation: networking: fix spelling mistakes Eric Engestrom <eric@engestrom.ch> - 2016-04-25 08:40 +0200
Re: [PATCH 30/41] Documentation: networking: fix spelling mistakes David Miller <davem@davemloft.net> - 2016-04-28 20:30 +0200
[PATCH 40/41] Documentation: x86: fix spelling mistakes Eric Engestrom <eric@engestrom.ch> - 2016-04-25 08:40 +0200
Re: [PATCH 40/41] Documentation: x86: fix spelling mistakes Jonathan Corbet <corbet@lwn.net> - 2016-04-28 15:40 +0200
[PATCH 27/41] Documentation: laptops: fix spelling mistake Eric Engestrom <eric@engestrom.ch> - 2016-04-25 08:40 +0200
[PATCH 33/41] Documentation: RCU: fix spelling mistake Eric Engestrom <eric@engestrom.ch> - 2016-04-25 08:40 +0200
Re: [PATCH 33/41] Documentation: RCU: fix spelling mistake Josh Triplett <josh@joshtriplett.org> - 2016-04-25 09:50 +0200
Re: [PATCH 33/41] Documentation: RCU: fix spelling mistake "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-04-25 19:20 +0200
[PATCH 36/41] Documentation: sound: fix spelling mistakes Eric Engestrom <eric@engestrom.ch> - 2016-04-25 08:40 +0200
Re: [PATCH 36/41] Documentation: sound: fix spelling mistakes Takashi Iwai <tiwai@suse.de> - 2016-04-25 10:50 +0200
Re: [PATCH 36/41] Documentation: sound: fix spelling mistakes Vinod Koul <vinod.koul@intel.com> - 2016-04-25 11:00 +0200
[PATCH 39/41] Documentation: vm: fix spelling mistakes Eric Engestrom <eric@engestrom.ch> - 2016-04-25 08:40 +0200
Re: [PATCH 39/41] Documentation: vm: fix spelling mistakes Jonathan Corbet <corbet@lwn.net> - 2016-04-28 15:40 +0200
Re: [PATCH 39/41] Documentation: vm: fix spelling mistakes Jonathan Corbet <corbet@lwn.net> - 2016-04-28 15:50 +0200
Re: [PATCH 39/41] Documentation: vm: fix spelling mistakes Andrew Morton <akpm@linux-foundation.org> - 2016-04-28 21:20 +0200
[PATCH 35/41] Documentation: scsi: fix spelling mistakes Eric Engestrom <eric@engestrom.ch> - 2016-04-25 08:40 +0200
Re: [PATCH 35/41] Documentation: scsi: fix spelling mistakes Jonathan Corbet <corbet@lwn.net> - 2016-04-28 15:40 +0200
[PATCH 38/41] Documentation: virtual: fix spelling mistake Eric Engestrom <eric@engestrom.ch> - 2016-04-25 08:40 +0200
Re: [PATCH 38/41] Documentation: virtual: fix spelling mistake Cornelia Huck <cornelia.huck@de.ibm.com> - 2016-04-25 14:10 +0200
Re: [PATCH 38/41] Documentation: virtual: fix spelling mistake Radim Krčmář <rkrcmar@redhat.com> - 2016-04-25 17:10 +0200
[PATCH 31/41] Documentation: power: fix spelling mistake Eric Engestrom <eric@engestrom.ch> - 2016-04-25 08:50 +0200
Re: [PATCH 31/41] Documentation: power: fix spelling mistake Viresh Kumar <viresh.kumar@linaro.org> - 2016-04-25 08:50 +0200
[PATCH 29/41] Documentation: lzo: fix spelling mistakes Eric Engestrom <eric@engestrom.ch> - 2016-04-25 08:50 +0200
Re: [PATCH 29/41] Documentation: lzo: fix spelling mistakes Jonathan Corbet <corbet@lwn.net> - 2016-04-28 15:30 +0200
[PATCH 32/41] Documentation: pps: fix spelling mistake Eric Engestrom <eric@engestrom.ch> - 2016-04-25 08:50 +0200
Re: [PATCH 32/41] Documentation: pps: fix spelling mistake Jonathan Corbet <corbet@lwn.net> - 2016-04-28 15:30 +0200
Re: [PATCH 32/41] Documentation: pps: fix spelling mistake Jonathan Corbet <corbet@lwn.net> - 2016-04-28 15:30 +0200
Re: [PATCH 27/41] Documentation: laptops: fix spelling mistake Jonathan Corbet <corbet@lwn.net> - 2016-04-28 15:30 +0200
csiph-web