Commit f087df84 authored by ZhangPeng's avatar ZhangPeng Committed by Ma Wupeng
Browse files

userswap: mark swap-out buffer PTE as writable

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I6CAIM



--------------------------------

Add a VM_WRITE check for the swap-out buffer. If the swap-out buffer VMA
contains VM_WRITE, the PTE should be marked as writable.

Signed-off-by: default avatarZhangPeng <zhangpeng362@huawei.com>
parent a81fb608
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment