Messages in this thread | | | Date | Thu, 27 Apr 2017 08:30:54 +0200 | From | Ingo Molnar <> | Subject | Re: [RFC PATCH] x86, uaccess, pmem: introduce copy_from_iter_writethru for dax + pmem |
| |
* Dan Williams <dan.j.williams@intel.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
| |