From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by kanga.kvack.org (Postfix) with ESMTP id A82336B0038 for ; Sun, 14 Jun 2015 22:47:18 -0400 (EDT) Received: by padev16 with SMTP id ev16so56168603pad.0 for ; Sun, 14 Jun 2015 19:47:18 -0700 (PDT) Received: from mga09.intel.com (mga09.intel.com. [134.134.136.24]) by mx.google.com with ESMTP id kp10si15609596pdb.200.2015.06.14.19.47.17 for ; Sun, 14 Jun 2015 19:47:17 -0700 (PDT) From: Andi Kleen Subject: Re: why do we need vmalloc_sync_all? References: <1434188955-31397-1-git-send-email-mingo@kernel.org> <20150613185828.GA32376@redhat.com> <20150614075943.GA810@gmail.com> <20150614200623.GB19582@redhat.com> Date: Sun, 14 Jun 2015 19:47:11 -0700 In-Reply-To: <20150614200623.GB19582@redhat.com> (Oleg Nesterov's message of "Sun, 14 Jun 2015 22:06:23 +0200") Message-ID: <87bnghit74.fsf@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: owner-linux-mm@kvack.org List-ID: To: Oleg Nesterov Cc: Ingo Molnar , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andy Lutomirski , Andrew Morton , Denys Vlasenko , Brian Gerst , Peter Zijlstra , Borislav Petkov , "H. Peter Anvin" , Linus Torvalds , Thomas Gleixner , Waiman Long Oleg Nesterov writes: > > But again, the kernel no longer does this? do_page_fault() does vmalloc_fault() > without notify_die(). If it fails, I do not see how/why a modular DIE_OOPS > handler could try to resolve this problem and trigger another fault. The same problem can happen from NMI handlers or machine check handlers. It's not necessarily tied to page faults only. -Andi -- ak@linux.intel.com -- Speaking for myself only -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org