Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-07-03 Thread Huang, Ying
Sergey Senozhatsky writes: > On (07/04/18 10:20), Huang, Ying wrote: >> > On (06/27/18 21:51), Andrew Morton wrote: >> >> On Fri, 22 Jun 2018 11:51:30 +0800 "Huang, Ying" >> >> wrote: >> >> >> >> > This is the final step of THP (Transparent Huge Page) swap >> >> > optimization. After the

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-07-03 Thread Huang, Ying
Sergey Senozhatsky writes: > On (07/04/18 10:20), Huang, Ying wrote: >> > On (06/27/18 21:51), Andrew Morton wrote: >> >> On Fri, 22 Jun 2018 11:51:30 +0800 "Huang, Ying" >> >> wrote: >> >> >> >> > This is the final step of THP (Transparent Huge Page) swap >> >> > optimization. After the

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-07-03 Thread Sergey Senozhatsky
On (07/04/18 10:20), Huang, Ying wrote: > > On (06/27/18 21:51), Andrew Morton wrote: > >> On Fri, 22 Jun 2018 11:51:30 +0800 "Huang, Ying" > >> wrote: > >> > >> > This is the final step of THP (Transparent Huge Page) swap > >> > optimization. After the first and second step, the splitting

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-07-03 Thread Sergey Senozhatsky
On (07/04/18 10:20), Huang, Ying wrote: > > On (06/27/18 21:51), Andrew Morton wrote: > >> On Fri, 22 Jun 2018 11:51:30 +0800 "Huang, Ying" > >> wrote: > >> > >> > This is the final step of THP (Transparent Huge Page) swap > >> > optimization. After the first and second step, the splitting

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-07-03 Thread Huang, Ying
Sergey Senozhatsky writes: > On (06/27/18 21:51), Andrew Morton wrote: >> On Fri, 22 Jun 2018 11:51:30 +0800 "Huang, Ying" >> wrote: >> >> > This is the final step of THP (Transparent Huge Page) swap >> > optimization. After the first and second step, the splitting huge >> > page is delayed

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-07-03 Thread Huang, Ying
Sergey Senozhatsky writes: > On (06/27/18 21:51), Andrew Morton wrote: >> On Fri, 22 Jun 2018 11:51:30 +0800 "Huang, Ying" >> wrote: >> >> > This is the final step of THP (Transparent Huge Page) swap >> > optimization. After the first and second step, the splitting huge >> > page is delayed

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-07-03 Thread Sergey Senozhatsky
On (06/27/18 21:51), Andrew Morton wrote: > On Fri, 22 Jun 2018 11:51:30 +0800 "Huang, Ying" wrote: > > > This is the final step of THP (Transparent Huge Page) swap > > optimization. After the first and second step, the splitting huge > > page is delayed from almost the first step of swapout to

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-07-03 Thread Sergey Senozhatsky
On (06/27/18 21:51), Andrew Morton wrote: > On Fri, 22 Jun 2018 11:51:30 +0800 "Huang, Ying" wrote: > > > This is the final step of THP (Transparent Huge Page) swap > > optimization. After the first and second step, the splitting huge > > page is delayed from almost the first step of swapout to

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-07-01 Thread Huang, Ying
Matthew Wilcox writes: > On Fri, Jun 29, 2018 at 09:17:16AM +0800, Huang, Ying wrote: >> Matthew Wilcox writes: >> > I'll take a look. Honestly, my biggest problem with this patch set is >> > overuse of tagging: >> > >> > 59832 Jun 22 Huang, Ying ( 131) [PATCH -mm -v4 00/21] mm, THP,

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-07-01 Thread Huang, Ying
Matthew Wilcox writes: > On Fri, Jun 29, 2018 at 09:17:16AM +0800, Huang, Ying wrote: >> Matthew Wilcox writes: >> > I'll take a look. Honestly, my biggest problem with this patch set is >> > overuse of tagging: >> > >> > 59832 Jun 22 Huang, Ying ( 131) [PATCH -mm -v4 00/21] mm, THP,

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-06-28 Thread Matthew Wilcox
On Fri, Jun 29, 2018 at 09:17:16AM +0800, Huang, Ying wrote: > Matthew Wilcox writes: > > I'll take a look. Honestly, my biggest problem with this patch set is > > overuse of tagging: > > > > 59832 Jun 22 Huang, Ying ( 131) [PATCH -mm -v4 00/21] mm, THP, > > swap: Swa > > There's

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-06-28 Thread Matthew Wilcox
On Fri, Jun 29, 2018 at 09:17:16AM +0800, Huang, Ying wrote: > Matthew Wilcox writes: > > I'll take a look. Honestly, my biggest problem with this patch set is > > overuse of tagging: > > > > 59832 Jun 22 Huang, Ying ( 131) [PATCH -mm -v4 00/21] mm, THP, > > swap: Swa > > There's

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-06-28 Thread Huang, Ying
Matthew Wilcox writes: > On Wed, Jun 27, 2018 at 11:18:39PM -0700, Andrew Morton wrote: >> On Thu, 28 Jun 2018 13:35:15 +0800 "Huang\, Ying" >> wrote: >> > No problem. I will rebase the patchset on your latest -mm tree, or the >> > next version to be released? >> >> We need to figure that

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-06-28 Thread Huang, Ying
Matthew Wilcox writes: > On Wed, Jun 27, 2018 at 11:18:39PM -0700, Andrew Morton wrote: >> On Thu, 28 Jun 2018 13:35:15 +0800 "Huang\, Ying" >> wrote: >> > No problem. I will rebase the patchset on your latest -mm tree, or the >> > next version to be released? >> >> We need to figure that

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-06-28 Thread Matthew Wilcox
On Wed, Jun 27, 2018 at 11:18:39PM -0700, Andrew Morton wrote: > On Thu, 28 Jun 2018 13:35:15 +0800 "Huang\, Ying" > wrote: > > No problem. I will rebase the patchset on your latest -mm tree, or the > > next version to be released? > > We need to figure that out with Matthew. > > Probably the

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-06-28 Thread Matthew Wilcox
On Wed, Jun 27, 2018 at 11:18:39PM -0700, Andrew Morton wrote: > On Thu, 28 Jun 2018 13:35:15 +0800 "Huang\, Ying" > wrote: > > No problem. I will rebase the patchset on your latest -mm tree, or the > > next version to be released? > > We need to figure that out with Matthew. > > Probably the

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-06-28 Thread Andrew Morton
On Thu, 28 Jun 2018 13:35:15 +0800 "Huang\, Ying" wrote: > Andrew Morton writes: > > > On Thu, 28 Jun 2018 13:29:09 +0800 "Huang\, Ying" > > wrote: > > > >> Andrew Morton writes: > >> > >> > On Fri, 22 Jun 2018 11:51:30 +0800 "Huang, Ying" > >> > wrote: > >> > > >> >> This is the final

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-06-28 Thread Andrew Morton
On Thu, 28 Jun 2018 13:35:15 +0800 "Huang\, Ying" wrote: > Andrew Morton writes: > > > On Thu, 28 Jun 2018 13:29:09 +0800 "Huang\, Ying" > > wrote: > > > >> Andrew Morton writes: > >> > >> > On Fri, 22 Jun 2018 11:51:30 +0800 "Huang, Ying" > >> > wrote: > >> > > >> >> This is the final

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-06-27 Thread Huang, Ying
Andrew Morton writes: > On Thu, 28 Jun 2018 13:29:09 +0800 "Huang\, Ying" > wrote: > >> Andrew Morton writes: >> >> > On Fri, 22 Jun 2018 11:51:30 +0800 "Huang, Ying" >> > wrote: >> > >> >> This is the final step of THP (Transparent Huge Page) swap >> >> optimization. After the first and

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-06-27 Thread Huang, Ying
Andrew Morton writes: > On Thu, 28 Jun 2018 13:29:09 +0800 "Huang\, Ying" > wrote: > >> Andrew Morton writes: >> >> > On Fri, 22 Jun 2018 11:51:30 +0800 "Huang, Ying" >> > wrote: >> > >> >> This is the final step of THP (Transparent Huge Page) swap >> >> optimization. After the first and

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-06-27 Thread Andrew Morton
On Thu, 28 Jun 2018 13:29:09 +0800 "Huang\, Ying" wrote: > Andrew Morton writes: > > > On Fri, 22 Jun 2018 11:51:30 +0800 "Huang, Ying" > > wrote: > > > >> This is the final step of THP (Transparent Huge Page) swap > >> optimization. After the first and second step, the splitting huge > >>

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-06-27 Thread Andrew Morton
On Thu, 28 Jun 2018 13:29:09 +0800 "Huang\, Ying" wrote: > Andrew Morton writes: > > > On Fri, 22 Jun 2018 11:51:30 +0800 "Huang, Ying" > > wrote: > > > >> This is the final step of THP (Transparent Huge Page) swap > >> optimization. After the first and second step, the splitting huge > >>

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-06-27 Thread Huang, Ying
Andrew Morton writes: > On Fri, 22 Jun 2018 11:51:30 +0800 "Huang, Ying" wrote: > >> This is the final step of THP (Transparent Huge Page) swap >> optimization. After the first and second step, the splitting huge >> page is delayed from almost the first step of swapout to after swapout >> has

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-06-27 Thread Huang, Ying
Andrew Morton writes: > On Fri, 22 Jun 2018 11:51:30 +0800 "Huang, Ying" wrote: > >> This is the final step of THP (Transparent Huge Page) swap >> optimization. After the first and second step, the splitting huge >> page is delayed from almost the first step of swapout to after swapout >> has

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-06-27 Thread Andrew Morton
On Fri, 22 Jun 2018 11:51:30 +0800 "Huang, Ying" wrote: > This is the final step of THP (Transparent Huge Page) swap > optimization. After the first and second step, the splitting huge > page is delayed from almost the first step of swapout to after swapout > has been finished. In this step,

Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-06-27 Thread Andrew Morton
On Fri, 22 Jun 2018 11:51:30 +0800 "Huang, Ying" wrote: > This is the final step of THP (Transparent Huge Page) swap > optimization. After the first and second step, the splitting huge > page is delayed from almost the first step of swapout to after swapout > has been finished. In this step,

[PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-06-21 Thread Huang, Ying
From: Huang Ying Hi, Andrew, could you help me to check whether the overall design is reasonable? Hi, Hugh, Shaohua, Minchan and Rik, could you help me to review the swap part of the patchset? Especially [02/21], [03/21], [04/21], [05/21], [06/21], [07/21], [08/21], [09/21], [10/21], [11/21],

[PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece

2018-06-21 Thread Huang, Ying
From: Huang Ying Hi, Andrew, could you help me to check whether the overall design is reasonable? Hi, Hugh, Shaohua, Minchan and Rik, could you help me to review the swap part of the patchset? Especially [02/21], [03/21], [04/21], [05/21], [06/21], [07/21], [08/21], [09/21], [10/21], [11/21],