lkml.org 
[lkml]   [2018]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH 0/4] lib/iov_iter: Fixes and documentation for pmem user copies
From
Date
* Add missing documentation for the 'flushcache' operation for writing to
persistent memory, and the 'mcsafe' operation for reading from
potentially poisoned persistent memory.

* Introduce copy_pipe_to_iter_mcsafe() to properly handle ITER_PIPE for
_copy_to_iter_mcsafe().

* Make sure copy_to_user_mcsafe() falls back to an exception handling
capable copy routine, not plain memcpy().

---

Dan Williams (4):
lib/iov_iter: Document _copy_to_iter_mcsafe()
lib/iov_iter: Document _copy_to_iter_flushcache()
lib/iov_iter: Fix pipe handling in _copy_to_iter_mcsafe
x86/asm/memcpy_mcsafe: Fix copy_to_user_mcsafe() exception handling


arch/x86/Kconfig | 2 -
arch/x86/include/asm/uaccess_64.h | 7 +++
lib/iov_iter.c | 77 +++++++++++++++++++++++++++++++++++--
3 files changed, 80 insertions(+), 6 deletions(-)

\
 
 \ /
  Last update: 2018-07-08 22:57    [W:0.044 / U:1.568 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site