Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753278AbbFAQHc (ORCPT ); Mon, 1 Jun 2015 12:07:32 -0400 Received: from mail-wg0-f52.google.com ([74.125.82.52]:34968 "EHLO mail-wg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751621AbbFAQHX (ORCPT ); Mon, 1 Jun 2015 12:07:23 -0400 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 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 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 769 Lines: 23 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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/