Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752823AbaLCOD1 (ORCPT ); Wed, 3 Dec 2014 09:03:27 -0500 Received: from bes.se.axis.com ([195.60.68.10]:43679 "EHLO bes.se.axis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750855AbaLCOD0 (ORCPT ); Wed, 3 Dec 2014 09:03:26 -0500 Message-ID: <1417615394.10198.3.camel@lnxlarper.se.axis.com> Subject: Re: [PATCH] Revert "MIPS: Remove race window in page fault handling" From: Lars Persson To: Ralf Baechle CC: Leonid Yegoshin , "linux-mips@linux-mips.org" , "james.hogan@imgtec.com" , "keescook@chromium.org" , "paul.burton@imgtec.com" , "linux-kernel@vger.kernel.org" , "manuel.lauss@gmail.com" , "pbonzini@redhat.com" , "akpm@linux-foundation.org" , "blogic@openwrt.org" , "markos.chandras@imgtec.com" Date: Wed, 3 Dec 2014 15:03:14 +0100 In-Reply-To: <20141203134226.GC16063@linux-mips.org> References: <20141203032542.15388.17340.stgit@linux-yegoshin> <1417599104.10996.16.camel@lnxlarper.se.axis.com> <20141203134226.GC16063@linux-mips.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4-3 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It is the flush_dcache_page() that was called from the file-system reading the page contents into memory. - Lars On Wed, 2014-12-03 at 14:42 +0100, Ralf Baechle wrote: > Lars, > > normally set_pte_at() is invoked in a > > cache_flush_*() > set_pte_at() > tlb_flush_*() > > sequence. So I'm wondering if you're trying to fix something in set_pte_at > that actually ought to be fixed in the cache_flush_*() function. > > I'm wondering, have you identified which cache flush function in particular > was used in the sequence in your particular bug's case? > > Ralf -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/