Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1553933
| From | Hugh Dickins <hughd@google.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] mm: stop leaking PageTables |
| Date | 2017-01-08 21:30 +0100 |
| Message-ID | <sXsgh-2Qd-7@gated-at.bofh.it> (permalink) |
| References | <sX8KC-6UM-13@gated-at.bofh.it> <sXfCp-2S7-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, 8 Jan 2017, Aneesh Kumar K.V wrote:
> Hugh Dickins <hughd@google.com> writes:
>
> > And fix a separate pagetable leak, or crash, introduced by the same
> > change, that could only show up on some ppc64: why does do_set_pmd()'s
> > failure case attempt to withdraw a pagetable when it never deposited
> > one, at the same time overwriting (so leaking) the vmf->prealloc_pte?
> > Residue of an earlier implementation, perhaps? Delete it.
>
> That change is part of -mm tree.
>
> https://lkml.kernel.org/r/20161212163428.6780-1-aneesh.kumar@linux.vnet.ibm.com
Ah, so it is, I hadn't looked there. That's reassuring,
I'm glad to know you reached the same conclusion on that piece of code.
It still worried me that the fix is languishing in mmotm, but it looks
not lost: akpm would have sent it in a couple of days anyway, and only
affected ppc64 (like the related khugepaged patch you have queued there).
>
> >
> > Fixes: 953c66c2b22a ("mm: THP page cache support for ppc64")
> > Signed-off-by: Hugh Dickins <hughd@google.com>
>
>
> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thanks, and to Linus, who already has this in for -rc3: so akpm can drop
mm-thp-pagecache-only-withdraw-page-table-after-a-successful-deposit.patch
and then later send in your
mm-thp-pagecache-collapse-free-the-pte-page-table-on-collapse-for-thp-page-cache.patch
Hugh
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] mm: stop leaking PageTables Hugh Dickins <hughd@google.com> - 2017-01-08 00:40 +0100
Re: [PATCH] mm: stop leaking PageTables "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> - 2017-01-08 08:00 +0100
Re: [PATCH] mm: stop leaking PageTables Hugh Dickins <hughd@google.com> - 2017-01-08 21:30 +0100
Re: [PATCH] mm: stop leaking PageTables "Kirill A. Shutemov" <kirill@shutemov.name> - 2017-01-09 00:30 +0100
csiph-web