mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
x86, pmem: Fix cache flushing for iovec write < 8 bytes
Commit11e63f6d92added cache flushing for unaligned writes from an iovec, covering the first and last cache line of a >= 8 byte write and the first cache line of a < 8 byte write. But an unaligned write of 2-7 bytes can still cover two cache lines, so make sure we flush both in that case. Cc: <stable@vger.kernel.org> Fixes:11e63f6d92("x86, pmem: fix broken __copy_user_nocache ...") Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
This commit is contained in:
parent
cf1e22891b
commit
8376efd31d
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue