From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f200.google.com (mail-pf0-f200.google.com [209.85.192.200]) by kanga.kvack.org (Postfix) with ESMTP id 65D2F6B0007 for ; Mon, 5 Mar 2018 14:24:16 -0500 (EST) Received: by mail-pf0-f200.google.com with SMTP id s25so10231351pfh.9 for ; Mon, 05 Mar 2018 11:24:16 -0800 (PST) Received: from mga03.intel.com (mga03.intel.com. [134.134.136.65]) by mx.google.com with ESMTPS id 201si8706049pge.119.2018.03.05.11.24.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Mar 2018 11:24:15 -0800 (PST) Subject: Re: [PATCH v12 09/11] mm: Allow arch code to override copy_highpage() References: From: Dave Hansen Message-ID: <68ee1cbc-8e21-e693-7878-777e0d5b0f0c@linux.intel.com> Date: Mon, 5 Mar 2018 11:24:14 -0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Khalid Aziz , akpm@linux-foundation.org, davem@davemloft.net Cc: kstewart@linuxfoundation.org, pombredanne@nexb.com, tglx@linutronix.de, anthony.yznaga@oracle.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, sparclinux@vger.kernel.org, Khalid Aziz On 02/21/2018 09:15 AM, Khalid Aziz wrote: > +#ifndef __HAVE_ARCH_COPY_HIGHPAGE > + > static inline void copy_highpage(struct page *to, struct page *from) > { > char *vfrom, *vto; > @@ -248,4 +250,6 @@ static inline void copy_highpage(struct page *to, struct page *from) > kunmap_atomic(vfrom); > } > > +#endif I think we prefer that these are CONFIG_* options. -- 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