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

2021-04-16 Thread Miaohe Lin
On 2021/4/16 14:25, Huang, Ying wrote: > Miaohe Lin writes: > >> On 2021/4/15 22:31, Dennis Zhou wrote: >>> On Thu, Apr 15, 2021 at 01:24:31PM +0800, Huang, Ying wrote: Dennis Zhou writes: > On Wed, Apr 14, 2021 at 01:44:58PM +0800, Huang, Ying wrote: >> Dennis Zhou writes:

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

2021-04-16 Thread Huang, Ying
Miaohe Lin writes: > On 2021/4/15 22:31, Dennis Zhou wrote: >> On Thu, Apr 15, 2021 at 01:24:31PM +0800, Huang, Ying wrote: >>> Dennis Zhou writes: >>> On Wed, Apr 14, 2021 at 01:44:58PM +0800, Huang, Ying wrote: > Dennis Zhou writes: > >> On Wed, Apr 14, 2021 at 11:59:03AM

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

2021-04-15 Thread Miaohe Lin
On 2021/4/15 22:31, Dennis Zhou wrote: > On Thu, Apr 15, 2021 at 01:24:31PM +0800, Huang, Ying wrote: >> Dennis Zhou writes: >> >>> On Wed, Apr 14, 2021 at 01:44:58PM +0800, Huang, Ying wrote: Dennis Zhou writes: > On Wed, Apr 14, 2021 at 11:59:03AM +0800, Huang, Ying wrote: >>

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

2021-04-15 Thread Huang, Ying
Dennis Zhou writes: > On Thu, Apr 15, 2021 at 01:24:31PM +0800, Huang, Ying wrote: >> Dennis Zhou writes: >> >> > On Wed, Apr 14, 2021 at 01:44:58PM +0800, Huang, Ying wrote: >> >> Dennis Zhou writes: >> >> >> >> > On Wed, Apr 14, 2021 at 11:59:03AM +0800, Huang, Ying wrote: >> >> >> Dennis

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

2021-04-15 Thread Dennis Zhou
On Thu, Apr 15, 2021 at 01:24:31PM +0800, Huang, Ying wrote: > Dennis Zhou writes: > > > On Wed, Apr 14, 2021 at 01:44:58PM +0800, Huang, Ying wrote: > >> Dennis Zhou writes: > >> > >> > On Wed, Apr 14, 2021 at 11:59:03AM +0800, Huang, Ying wrote: > >> >> Dennis Zhou writes: > >> >> > >> >>

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

2021-04-15 Thread Miaohe Lin
On 2021/4/15 12:20, Dennis Zhou wrote: > On Thu, Apr 15, 2021 at 11:16:42AM +0800, Miaohe Lin wrote: >> On 2021/4/14 22:53, Dennis Zhou wrote: >>> On Wed, Apr 14, 2021 at 01:44:58PM +0800, Huang, Ying wrote: Dennis Zhou writes: > On Wed, Apr 14, 2021 at 11:59:03AM +0800, Huang, Ying

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

2021-04-14 Thread Huang, Ying
Dennis Zhou writes: > On Wed, Apr 14, 2021 at 01:44:58PM +0800, Huang, Ying wrote: >> Dennis Zhou writes: >> >> > On Wed, Apr 14, 2021 at 11:59:03AM +0800, Huang, Ying wrote: >> >> Dennis Zhou writes: >> >> >> >> > Hello, >> >> > >> >> > On Wed, Apr 14, 2021 at 10:06:48AM +0800, Huang, Ying

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

2021-04-14 Thread Dennis Zhou
On Thu, Apr 15, 2021 at 11:16:42AM +0800, Miaohe Lin wrote: > On 2021/4/14 22:53, Dennis Zhou wrote: > > On Wed, Apr 14, 2021 at 01:44:58PM +0800, Huang, Ying wrote: > >> Dennis Zhou writes: > >> > >>> On Wed, Apr 14, 2021 at 11:59:03AM +0800, Huang, Ying wrote: > Dennis Zhou writes: >

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

2021-04-14 Thread Miaohe Lin
On 2021/4/14 22:53, Dennis Zhou wrote: > On Wed, Apr 14, 2021 at 01:44:58PM +0800, Huang, Ying wrote: >> Dennis Zhou writes: >> >>> On Wed, Apr 14, 2021 at 11:59:03AM +0800, Huang, Ying wrote: Dennis Zhou writes: > Hello, > > On Wed, Apr 14, 2021 at 10:06:48AM +0800, Huang,

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

2021-04-14 Thread Dennis Zhou
On Wed, Apr 14, 2021 at 01:44:58PM +0800, Huang, Ying wrote: > Dennis Zhou writes: > > > On Wed, Apr 14, 2021 at 11:59:03AM +0800, Huang, Ying wrote: > >> Dennis Zhou writes: > >> > >> > Hello, > >> > > >> > On Wed, Apr 14, 2021 at 10:06:48AM +0800, Huang, Ying wrote: > >> >> Miaohe Lin

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

2021-04-13 Thread Huang, Ying
Dennis Zhou writes: > On Wed, Apr 14, 2021 at 11:59:03AM +0800, Huang, Ying wrote: >> Dennis Zhou writes: >> >> > Hello, >> > >> > On Wed, Apr 14, 2021 at 10:06:48AM +0800, Huang, Ying wrote: >> >> Miaohe Lin writes: >> >> >> >> > On 2021/4/14 9:17, Huang, Ying wrote: >> >> >> Miaohe Lin

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

2021-04-13 Thread Dennis Zhou
On Wed, Apr 14, 2021 at 11:59:03AM +0800, Huang, Ying wrote: > Dennis Zhou writes: > > > Hello, > > > > On Wed, Apr 14, 2021 at 10:06:48AM +0800, Huang, Ying wrote: > >> Miaohe Lin writes: > >> > >> > On 2021/4/14 9:17, Huang, Ying wrote: > >> >> Miaohe Lin writes: > >> >> > >> >>> On

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

2021-04-13 Thread Huang, Ying
Dennis Zhou writes: > Hello, > > On Wed, Apr 14, 2021 at 10:06:48AM +0800, Huang, Ying wrote: >> Miaohe Lin writes: >> >> > On 2021/4/14 9:17, Huang, Ying wrote: >> >> Miaohe Lin writes: >> >> >> >>> On 2021/4/12 15:24, Huang, Ying wrote: >> "Huang, Ying" writes: >> >> >

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

2021-04-13 Thread Dennis Zhou
Hello, On Wed, Apr 14, 2021 at 10:06:48AM +0800, Huang, Ying wrote: > Miaohe Lin writes: > > > On 2021/4/14 9:17, Huang, Ying wrote: > >> Miaohe Lin writes: > >> > >>> On 2021/4/12 15:24, Huang, Ying wrote: > "Huang, Ying" writes: > > > Miaohe Lin writes: > > > >> We

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

2021-04-13 Thread Huang, Ying
Miaohe Lin writes: > On 2021/4/14 9:17, Huang, Ying wrote: >> Miaohe Lin writes: >> >>> On 2021/4/12 15:24, Huang, Ying wrote: "Huang, Ying" writes: > Miaohe Lin writes: > >> We will use percpu-refcount to serialize against concurrent swapoff. This >> patch adds the

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

2021-04-13 Thread Miaohe Lin
On 2021/4/14 9:17, Huang, Ying wrote: > Miaohe Lin writes: > >> On 2021/4/12 15:24, Huang, Ying wrote: >>> "Huang, Ying" writes: >>> Miaohe Lin writes: > We will use percpu-refcount to serialize against concurrent swapoff. This > patch adds the percpu_ref support for later

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

2021-04-13 Thread Huang, Ying
Miaohe Lin writes: > On 2021/4/12 15:24, Huang, Ying wrote: >> "Huang, Ying" writes: >> >>> Miaohe Lin writes: >>> We will use percpu-refcount to serialize against concurrent swapoff. This patch adds the percpu_ref support for later fixup. Signed-off-by: Miaohe Lin

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

2021-04-13 Thread Miaohe Lin
On 2021/4/12 15:24, Huang, Ying wrote: > "Huang, Ying" writes: > >> Miaohe Lin writes: >> >>> We will use percpu-refcount to serialize against concurrent swapoff. This >>> patch adds the percpu_ref support for later fixup. >>> >>> Signed-off-by: Miaohe Lin >>> --- >>> include/linux/swap.h |

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

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

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

2021-04-12 Thread Miaohe Lin
On 2021/4/12 11:30, Huang, Ying wrote: > Miaohe Lin writes: > >> We will use percpu-refcount to serialize against concurrent swapoff. This >> patch adds the percpu_ref support for later fixup. >> >> Signed-off-by: Miaohe Lin >> --- >> include/linux/swap.h | 2 ++ >> mm/swapfile.c| 25

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

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

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

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