From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtprelay.synopsys.com (us01smtprelay-2.synopsys.com [198.182.60.111]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 40KZzS3jjyzF0sk for ; Tue, 10 Apr 2018 02:10:59 +1000 (AEST) Subject: Re: [PATCH 0/3] move __HAVE_ARCH_PTE_SPECIAL in Kconfig To: Laurent Dufour , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "linuxppc-dev@lists.ozlabs.org" , "x86@kernel.org" , "linux-doc@vger.kernel.org" , "linux-snps-arc@lists.infradead.org" , "linux-arm-kernel@lists.infradead.org" , "linux-riscv@lists.infradead.org" , "linux-s390@vger.kernel.org" , "linux-sh@vger.kernel.org" , "sparclinux@vger.kernel.org" , Jerome Glisse , "mhocko@kernel.org" , "aneesh.kumar@linux.vnet.ibm.com" , "akpm@linux-foundation.org" , "mpe@ellerman.id.au" , "benh@kernel.crashing.org" , "paulus@samba.org" , Jonathan Corbet , Catalin Marinas , Will Deacon , Yoshinori Sato , Rich Felker , "David S . Miller" , Thomas Gleixner , "Ingo Molnar" , Vineet Gupta , Palmer Dabbelt , Albert Ou , "Martin Schwidefsky" , Heiko Carstens References: <1523282229-20731-1-git-send-email-ldufour@linux.vnet.ibm.com> From: Vineet Gupta Message-ID: <17b19aac-fed7-23a2-013c-43ca867152e9@synopsys.com> Date: Mon, 9 Apr 2018 09:03:49 -0700 MIME-Version: 1.0 In-Reply-To: <1523282229-20731-1-git-send-email-ldufour@linux.vnet.ibm.com> Content-Type: text/plain; charset="utf-8"; format=flowed List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 04/09/2018 06:57 AM, Laurent Dufour wrote: > The per architecture __HAVE_ARCH_PTE_SPECIAL is defined statically in the > per architecture header files. This doesn't allow to make other > configuration dependent on it. So I understand this series has more "readability" value and I'm fine with this change but I wonder if you really would want to make something depend on it or make this de-configurable. PTE special is really a fundamental construct - e.g. it is used for anon mapped pages where zero page has been wired up etc... -Vineet > This series is moving the __HAVE_ARCH_PTE_SPECIAL into the Kconfig files, > setting it automatically when architectures was already setting it in > header file. > > There is no functional change introduced by this series.