On 2021/4/19 10:54, Huang, Ying wrote:
> Miaohe Lin writes:
>
>> Use percpu_ref to serialize against concurrent swapoff. Also remove the
>> SWP_VALID flag because it's used together with RCU solution.
>>
>> Signed-off-by: Miaohe Lin
>> ---
>> include/linux/swap.h | 3 +--
>> mm/swapfile.c
Miaohe Lin writes:
> Use percpu_ref to serialize against concurrent swapoff. Also remove the
> SWP_VALID flag because it's used together with RCU solution.
>
> Signed-off-by: Miaohe Lin
> ---
> include/linux/swap.h | 3 +--
> mm/swapfile.c| 43 +-
Use percpu_ref to serialize against concurrent swapoff. Also remove the
SWP_VALID flag because it's used together with RCU solution.
Signed-off-by: Miaohe Lin
---
include/linux/swap.h | 3 +--
mm/swapfile.c| 43 +--
2 files changed, 18 insertions(
3 matches
Mail list logo