Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp6369535ybe; Wed, 18 Sep 2019 02:16:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqwf26TdEWyT1x1VM+Ri3Rmn1vMpxWqmm02fP6awUx2eO5/bz6TOEseo0sRM4xT2e5jNtogj X-Received: by 2002:a17:906:6d95:: with SMTP id h21mr8693006ejt.192.1568798193094; Wed, 18 Sep 2019 02:16:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568798193; cv=none; d=google.com; s=arc-20160816; b=euLf7WsNgjL3vs1slAw/BSYMmfk472+mKVzAeyjIWoV4lgKlwHIIhqHGTIkwp7ktkt nQt1tBNzpKB8gQPxFTW/2JJKJKEKay8MzDIdM79/m9jBeKkFJZ0ADhZO9zbrWJP+N40/ lSP06oOJ5ufj6PRrmDKTO7q2o5obw1Ikcb//mmIdoqUyxxjW9a/92dLUC8YJZqVtcuEN lK8p5FwsmwMaT/48v1W5ls/CfaOH0zHTT+aiXsm1LdCHGzCejqXE18jaYikBmdMfEo3+ 9AfHFeH7JFDQf2cD6tcK+tUotZ6HSWG5JOfhk2QPGCkcFOlcLxT0bIqqHi/yN9rO0iok mu2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=4OjKDWQlaKf1KdrxPENJ/OKXlEHhE2oV5MGoiB6wH7o=; b=frjsEf2Xe68SdS7eqH7+n7Vok9hQbd1xf0GSjfLxIU11zuPDmcBKFIVk1Gg5rgdW7m kXFx+bLlCWpuKJsd6rSsp/kaoDWIR9Pp0Ju8s7Fxx2RU9Y0g24JONiybWVuan0s5za4D l0T+IUJ8lKs0yjefvzlcF7Ru0FPDJEWUBDyiPQW0KnhpfZC9ed7v5JYTehC4A+2KMTXy w3z1uLRqx5xXpfamZHQGLLg7AqwBI+Xgi947vGQN+rG5fOJL5ghB9HsUNe0lEn4qxvDb Txc3dKqPpuy5cVqAlYmEH49DXFZACFY0oQpozEk/5VsH3MC+VEFJ+9nR88f+B3E6E9wu jwCA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z10si2753124edd.140.2019.09.18.02.16.07; Wed, 18 Sep 2019 02:16:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729156AbfIRHcU (ORCPT + 99 others); Wed, 18 Sep 2019 03:32:20 -0400 Received: from foss.arm.com ([217.140.110.172]:36324 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726714AbfIRHcT (ORCPT ); Wed, 18 Sep 2019 03:32:19 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A357528; Wed, 18 Sep 2019 00:32:18 -0700 (PDT) Received: from [10.162.40.136] (p8cg001049571a15.blr.arm.com [10.162.40.136]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 77E5C3F59C; Wed, 18 Sep 2019 00:34:39 -0700 (PDT) Subject: Re: [PATCH] mm/pgtable/debug: Fix test validating architecture page table helpers To: Christophe Leroy , linux-mm@kvack.org Cc: Mark Rutland , linux-ia64@vger.kernel.org, linux-sh@vger.kernel.org, Peter Zijlstra , James Hogan , Heiko Carstens , Michal Hocko , Dave Hansen , Paul Mackerras , sparclinux@vger.kernel.org, Thomas Gleixner , linux-s390@vger.kernel.org, Jason Gunthorpe , x86@kernel.org, Russell King - ARM Linux , Matthew Wilcox , Steven Price , Tetsuo Handa , Gerald Schaefer , linux-snps-arc@lists.infradead.org, Kees Cook , Masahiro Yamada , Mark Brown , "Kirill A . Shutemov" , Dan Williams , Vlastimil Babka , linux-arm-kernel@lists.infradead.org, Sri Krishna chowdary , Ard Biesheuvel , Greg Kroah-Hartman , linux-mips@vger.kernel.org, Ralf Baechle , linux-kernel@vger.kernel.org, Paul Burton , Mike Rapoport , Vineet Gupta , Martin Schwidefsky , Andrew Morton , linuxppc-dev@lists.ozlabs.org, "David S. Miller" References: <1892b37d1fd9a4ed39e76c4b999b6556077201c0.1568355752.git.christophe.leroy@c-s.fr> From: Anshuman Khandual Message-ID: Date: Wed, 18 Sep 2019 13:02:22 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1892b37d1fd9a4ed39e76c4b999b6556077201c0.1568355752.git.christophe.leroy@c-s.fr> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/13/2019 11:53 AM, Christophe Leroy wrote: > Fix build failure on powerpc. > > Fix preemption imbalance. > > Signed-off-by: Christophe Leroy > --- > mm/arch_pgtable_test.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/mm/arch_pgtable_test.c b/mm/arch_pgtable_test.c > index 8b4a92756ad8..f2b3c9ec35fa 100644 > --- a/mm/arch_pgtable_test.c > +++ b/mm/arch_pgtable_test.c > @@ -24,6 +24,7 @@ > #include > #include > #include > +#include > #include > #include > > @@ -400,6 +401,8 @@ static int __init arch_pgtable_tests_init(void) > p4d_clear_tests(p4dp); > pgd_clear_tests(mm, pgdp); > > + pte_unmap(ptep); > + > pmd_populate_tests(mm, pmdp, saved_ptep); > pud_populate_tests(mm, pudp, saved_pmdp); > p4d_populate_tests(mm, p4dp, saved_pudp); > Hello Christophe, I am planning to fold this fix into the current patch and retain your Signed-off-by. Are you okay with it ? - Anshuman