Re: [PATCH v2 1/5] mm/swapfile: add percpu_ref support for swap

2021-04-19 Thread Miaohe Lin
On 2021/4/19 15:52, Huang, Ying wrote: > Miaohe Lin writes: > >> On 2021/4/19 15:09, Huang, Ying wrote: >>> Miaohe Lin writes: >>> On 2021/4/19 10:48, Huang, Ying wrote: > Miaohe Lin writes: > >> We will use percpu-refcount to serialize against concurrent swapoff. This >>

Re: [PATCH v2 1/5] mm/swapfile: add percpu_ref support for swap

2021-04-19 Thread Huang, Ying
Miaohe Lin writes: > On 2021/4/19 15:09, Huang, Ying wrote: >> Miaohe Lin writes: >> >>> On 2021/4/19 10:48, Huang, Ying wrote: Miaohe Lin writes: > We will use percpu-refcount to serialize against concurrent swapoff. This > patch adds the percpu_ref support for swap. >

Re: [PATCH v2 1/5] mm/swapfile: add percpu_ref support for swap

2021-04-19 Thread Miaohe Lin
On 2021/4/19 15:09, Huang, Ying wrote: > Miaohe Lin writes: > >> On 2021/4/19 10:48, Huang, Ying wrote: >>> Miaohe Lin writes: >>> We will use percpu-refcount to serialize against concurrent swapoff. This patch adds the percpu_ref support for swap. Signed-off-by: Miaohe Lin

Re: [PATCH v2 1/5] mm/swapfile: add percpu_ref support for swap

2021-04-19 Thread Huang, Ying
Miaohe Lin writes: > On 2021/4/19 10:48, Huang, Ying wrote: >> Miaohe Lin writes: >> >>> We will use percpu-refcount to serialize against concurrent swapoff. This >>> patch adds the percpu_ref support for swap. >>> >>> Signed-off-by: Miaohe Lin >>> --- >>> include/linux/swap.h | 3 +++ >>>

Re: [PATCH v2 1/5] mm/swapfile: add percpu_ref support for swap

2021-04-19 Thread Miaohe Lin
On 2021/4/19 10:48, Huang, Ying wrote: > Miaohe Lin writes: > >> We will use percpu-refcount to serialize against concurrent swapoff. This >> patch adds the percpu_ref support for swap. >> >> Signed-off-by: Miaohe Lin >> --- >> include/linux/swap.h | 3 +++ >> mm/swapfile.c| 33

Re: [PATCH v2 1/5] mm/swapfile: add percpu_ref support for swap

2021-04-18 Thread Huang, Ying
Miaohe Lin writes: > We will use percpu-refcount to serialize against concurrent swapoff. This > patch adds the percpu_ref support for swap. > > Signed-off-by: Miaohe Lin > --- > include/linux/swap.h | 3 +++ > mm/swapfile.c| 33 + > 2 files changed, 32

[PATCH v2 1/5] mm/swapfile: add percpu_ref support for swap

2021-04-17 Thread Miaohe Lin
We will use percpu-refcount to serialize against concurrent swapoff. This patch adds the percpu_ref support for swap. Signed-off-by: Miaohe Lin --- include/linux/swap.h | 3 +++ mm/swapfile.c| 33 + 2 files changed, 32 insertions(+), 4 deletions(-) diff