From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by kanga.kvack.org (Postfix) with ESMTP id 2F4FF6B0038 for ; Mon, 1 Jun 2015 12:07:24 -0400 (EDT) Received: by wgme6 with SMTP id e6so118631499wgm.2 for ; Mon, 01 Jun 2015 09:07:23 -0700 (PDT) Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com. [74.125.82.45]) by mx.google.com with ESMTPS id pe2si25460450wjb.151.2015.06.01.09.07.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Jun 2015 09:07:22 -0700 (PDT) Received: by wgbgq6 with SMTP id gq6so118809164wgb.3 for ; Mon, 01 Jun 2015 09:07:22 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <556C4593.5090600@plexistor.com> References: <20150530185425.32590.3190.stgit@dwillia2-desk3.amr.corp.intel.com> <20150530185940.32590.37804.stgit@dwillia2-desk3.amr.corp.intel.com> <556C4477.8090803@plexistor.com> <556C4593.5090600@plexistor.com> Date: Mon, 1 Jun 2015 09:07:21 -0700 Message-ID: Subject: Re: [PATCH v2 4/4] arch, x86: cache management apis for persistent memory From: Dan Williams Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Boaz Harrosh Cc: Arnd Bergmann , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Thomas Gleixner , Ross Zwisler , Andrew Morton , Juergen Gross , Konrad Rzeszutek Wilk , Luis Rodriguez , X86 ML , "linux-kernel@vger.kernel.org" , Stefan Bader , Andy Lutomirski , linux-mm@kvack.org, "linux-nvdimm@lists.01.org" , geert@linux-m68k.org, Henrique de Moraes Holschuh , Tejun Heo , Christoph Hellwig On Mon, Jun 1, 2015 at 4:44 AM, Boaz Harrosh wrote: > Forgot one thing > > On 06/01/2015 02:39 PM, Boaz Harrosh wrote: >>> +static inline void persistent_copy(void *dst, const void *src, size_t n) > > Could we please make this > memcpy_persistent > > Same as: > copy_from_user_nocache > > The generic name of what it does first then the special override. > copy_from_user_XXX is same as copy_from_user but with XXX applied > > Same here exactly as memcpy_ but with persistent applied. Ok, makes sense. -- 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