Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752341AbbFALod (ORCPT ); Mon, 1 Jun 2015 07:44:33 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:37256 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751357AbbFALoY (ORCPT ); Mon, 1 Jun 2015 07:44:24 -0400 Message-ID: <556C4593.5090600@plexistor.com> Date: Mon, 01 Jun 2015 14:44:19 +0300 From: Boaz Harrosh User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Dan Williams , arnd@arndb.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, tglx@linutronix.de, ross.zwisler@linux.intel.com, akpm@linux-foundation.org CC: jgross@suse.com, konrad.wilk@oracle.com, mcgrof@suse.com, x86@kernel.org, linux-kernel@vger.kernel.org, stefan.bader@canonical.com, luto@amacapital.net, linux-mm@kvack.org, linux-nvdimm@ml01.01.org, geert@linux-m68k.org, hmh@hmh.eng.br, tj@kernel.org, hch@lst.de Subject: Re: [PATCH v2 4/4] arch, x86: cache management apis for persistent memory 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> In-Reply-To: <556C4477.8090803@plexistor.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 672 Lines: 26 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. <> Thanks Boaz -- 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/