lkml.org 
[lkml]   [2018]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Revert "x86/mm: implement free pmd/pte page interfaces"

* 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.

Thanks,

Ingo

\
 
 \ /
  Last update: 2018-04-27 08:29    [W:0.088 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site