[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170427063054.soejyqocqqrihfdw@gmail.com>
Date: Thu, 27 Apr 2017 08:30:54 +0200
From: Ingo Molnar <mingo@...nel.org>
To: Dan Williams <dan.j.williams@...el.com>
Cc: viro@...iv.linux.org.uk, Jan Kara <jack@...e.cz>,
Matthew Wilcox <mawilcox@...rosoft.com>, x86@...nel.org,
linux-kernel@...r.kernel.org, hch@....de,
linux-block@...r.kernel.org, linux-nvdimm@...ts.01.org,
Jeff Moyer <jmoyer@...hat.com>, Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>, linux-fsdevel@...r.kernel.org,
Thomas Gleixner <tglx@...utronix.de>,
Ross Zwisler <ross.zwisler@...ux.intel.com>
Subject: Re: [RFC PATCH] x86, uaccess, pmem: introduce
copy_from_iter_writethru for dax + pmem
* Dan Williams <dan.j.williams@...el.com> wrote:
> +#ifdef CONFIG_ARCH_HAS_UACCESS_WRITETHRU
> +#define __HAVE_ARCH_MEMCPY_WRITETHRU 1
> +void memcpy_writethru(void *dst, const void *src, size_t cnt);
> +#endif
This should be named memcpy_wt(), which is the well-known postfix for
write-through.
We already have ioremap_wt(), set_memory_wt(), etc. - no need to introduce a
longer variant with uncommon spelling.
Thanks,
Ingo
Powered by blists - more mailing lists