On 2021/4/13 9:33, Huang, Ying wrote:
> Miaohe Lin writes:
>
>> The function get_shadow_from_swap_cache() can race with swapoff, though
>> it's only called by do_swap_page() now.
>>
>> Fixes: aae466b0052e ("mm/swap: implement workingset detection for anonymous
>> LRU")
>> Signed-off-by: Miaohe
Miaohe Lin writes:
> The function get_shadow_from_swap_cache() can race with swapoff, though
> it's only called by do_swap_page() now.
>
> Fixes: aae466b0052e ("mm/swap: implement workingset detection for anonymous
> LRU")
> Signed-off-by: Miaohe Lin
This is unnecessary. The only caller has
The function get_shadow_from_swap_cache() can race with swapoff, though
it's only called by do_swap_page() now.
Fixes: aae466b0052e ("mm/swap: implement workingset detection for anonymous
LRU")
Signed-off-by: Miaohe Lin
---
mm/swap_state.c | 9 ++---
1 file changed, 6 insertions(+), 3
3 matches
Mail list logo