From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by kanga.kvack.org (Postfix) with ESMTP id 294BE6B006E for ; Mon, 1 Jun 2015 07:44:25 -0400 (EDT) Received: by wicmx19 with SMTP id mx19so72702849wic.0 for ; Mon, 01 Jun 2015 04:44:24 -0700 (PDT) Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com. [74.125.82.54]) by mx.google.com with ESMTPS id p2si24342439wjy.73.2015.06.01.04.44.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Jun 2015 04:44:23 -0700 (PDT) Received: by wgv5 with SMTP id 5so111812047wgv.1 for ; Mon, 01 Jun 2015 04:44:23 -0700 (PDT) Message-ID: <556C4593.5090600@plexistor.com> Date: Mon, 01 Jun 2015 14:44:19 +0300 From: Boaz Harrosh MIME-Version: 1.0 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: owner-linux-mm@kvack.org List-ID: 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@lists.01.org, geert@linux-m68k.org, hmh@hmh.eng.br, tj@kernel.org, hch@lst.de 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, 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