From: "Kani, Toshi" <toshi.kani@hpe.com>
To: "mingo@kernel.org" <mingo@kernel.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"bp@suse.de" <bp@suse.de>,
"tglx@linutronix.de" <tglx@linutronix.de>,
"willy@infradead.org" <willy@infradead.org>,
"stable@vger.kernel.org" <stable@vger.kernel.org>,
"joro@8bytes.org" <joro@8bytes.org>,
"x86@kernel.org" <x86@kernel.org>,
"akpm@linux-foundation.org" <akpm@linux-foundation.org>,
"hpa@zytor.com" <hpa@zytor.com>,
"mingo@redhat.com" <mingo@redhat.com>,
"Hocko, Michal" <MHocko@suse.com>,
"jroedel@suse.de" <jroedel@suse.de>
Subject: Re: [PATCH] Revert "x86/mm: implement free pmd/pte page interfaces"
Date: Fri, 27 Apr 2018 19:49:04 +0000 [thread overview]
Message-ID: <1524858493.2693.535.camel@hpe.com> (raw)
In-Reply-To: <20180427062827.js6kwkwye4ewkuz4@gmail.com>
On Fri, 2018-04-27 at 08:28 +0200, Ingo Molnar wrote:
> * Kani, Toshi <toshi.kani@hpe.com> wrote:
>
> > On Thu, 2018-04-26 at 17:14 +0200, Joerg Roedel wrote:
> > > From: Joerg Roedel <jroedel@suse.de>
> > >
> > > This reverts commit 28ee90fe6048fa7b7ceaeb8831c0e4e454a4cf89.
> > >
> > > This commit is broken for x86, as it unmaps the PTE and PMD
> > > pages and immediatly frees them without doing a TLB flush.
> > >
> > > Further this lacks synchronization with other page-tables in
> > > the system when the PMD pages are not shared between
> > > mm_structs.
> > >
> > > On x86-32 with PAE and PTI patches on-top this patch
> > > triggers the BUG_ON in vmalloc_sync_one() because the kernel
> > > and the process page-table were not synchronized.
> > >
> > > Signed-off-by: Joerg Roedel <jroedel@suse.de>
> >
> > I do not agree with the comments and this revert. Let's discuss further
> > on the original thread.
>
> The original patch is totally broken (it's based on a misunderstanding), so unless
> you have a fix the revert is justified.
I am working on a fix on top of this patch.
Thanks,
-Toshi
prev parent reply other threads:[~2018-04-27 19:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-26 15:14 Joerg Roedel
2018-04-26 15:27 ` Greg KH
2018-04-26 15:31 ` Joerg Roedel
2018-04-26 16:29 ` Kani, Toshi
2018-04-27 6:28 ` Ingo Molnar
2018-04-27 19:49 ` Kani, Toshi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1524858493.2693.535.camel@hpe.com \
--to=toshi.kani@hpe.com \
--cc=MHocko@suse.com \
--cc=akpm@linux-foundation.org \
--cc=bp@suse.de \
--cc=hpa@zytor.com \
--cc=joro@8bytes.org \
--cc=jroedel@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=mingo@redhat.com \
--cc=stable@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=willy@infradead.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome