Re: [PATCH] mm: fix account pmd page to the process

2016-06-17 Thread zhong jiang
On 2016/6/17 23:39, Mike Kravetz wrote: > On 06/17/2016 05:25 AM, Kirill A. Shutemov wrote: >> From fd22922e7b4664e83653a84331f0a95b985bff0c Mon Sep 17 00:00:00 2001 >> From: "Kirill A. Shutemov" >> Date: Fri, 17 Jun 2016 15:07:03 +0300 >> Subject: [PATCH]

Re: [PATCH] mm: fix account pmd page to the process

2016-06-17 Thread zhong jiang
On 2016/6/17 23:39, Mike Kravetz wrote: > On 06/17/2016 05:25 AM, Kirill A. Shutemov wrote: >> From fd22922e7b4664e83653a84331f0a95b985bff0c Mon Sep 17 00:00:00 2001 >> From: "Kirill A. Shutemov" >> Date: Fri, 17 Jun 2016 15:07:03 +0300 >> Subject: [PATCH] hugetlb: fix nr_pmds accounting with

Re: [PATCH] mm: fix account pmd page to the process

2016-06-17 Thread Mike Kravetz
On 06/17/2016 05:25 AM, Kirill A. Shutemov wrote: > > From fd22922e7b4664e83653a84331f0a95b985bff0c Mon Sep 17 00:00:00 2001 > From: "Kirill A. Shutemov" > Date: Fri, 17 Jun 2016 15:07:03 +0300 > Subject: [PATCH] hugetlb: fix nr_pmds accounting with shared page

Re: [PATCH] mm: fix account pmd page to the process

2016-06-17 Thread Mike Kravetz
On 06/17/2016 05:25 AM, Kirill A. Shutemov wrote: > > From fd22922e7b4664e83653a84331f0a95b985bff0c Mon Sep 17 00:00:00 2001 > From: "Kirill A. Shutemov" > Date: Fri, 17 Jun 2016 15:07:03 +0300 > Subject: [PATCH] hugetlb: fix nr_pmds accounting with shared page tables > > We account HugeTLB's

Re: [PATCH] mm: fix account pmd page to the process

2016-06-17 Thread Kirill A. Shutemov
On Fri, Jun 17, 2016 at 03:00:00PM +0200, Michal Hocko wrote: > On Fri 17-06-16 15:25:06, Kirill A. Shutemov wrote: > [...] > > >From fd22922e7b4664e83653a84331f0a95b985bff0c Mon Sep 17 00:00:00 2001 > > From: "Kirill A. Shutemov" > > Date: Fri, 17 Jun 2016

Re: [PATCH] mm: fix account pmd page to the process

2016-06-17 Thread Kirill A. Shutemov
On Fri, Jun 17, 2016 at 03:00:00PM +0200, Michal Hocko wrote: > On Fri 17-06-16 15:25:06, Kirill A. Shutemov wrote: > [...] > > >From fd22922e7b4664e83653a84331f0a95b985bff0c Mon Sep 17 00:00:00 2001 > > From: "Kirill A. Shutemov" > > Date: Fri, 17 Jun 2016 15:07:03 +0300 > > Subject: [PATCH]

Re: [PATCH] mm: fix account pmd page to the process

2016-06-17 Thread zhong jiang
On 2016/6/17 20:21, Michal Hocko wrote: > On Fri 17-06-16 19:56:15, zhongjiang wrote: >> From: zhong jiang >> >> hen a process acquire a pmd table shared by other process, we >> increase the account to current process. otherwise, a race result >> in other tasks have set the

Re: [PATCH] mm: fix account pmd page to the process

2016-06-17 Thread zhong jiang
On 2016/6/17 20:21, Michal Hocko wrote: > On Fri 17-06-16 19:56:15, zhongjiang wrote: >> From: zhong jiang >> >> hen a process acquire a pmd table shared by other process, we >> increase the account to current process. otherwise, a race result >> in other tasks have set the pud entry. so it no

Re: [PATCH] mm: fix account pmd page to the process

2016-06-17 Thread Michal Hocko
On Fri 17-06-16 15:25:06, Kirill A. Shutemov wrote: [...] > >From fd22922e7b4664e83653a84331f0a95b985bff0c Mon Sep 17 00:00:00 2001 > From: "Kirill A. Shutemov" > Date: Fri, 17 Jun 2016 15:07:03 +0300 > Subject: [PATCH] hugetlb: fix nr_pmds accounting with shared

Re: [PATCH] mm: fix account pmd page to the process

2016-06-17 Thread Michal Hocko
On Fri 17-06-16 15:25:06, Kirill A. Shutemov wrote: [...] > >From fd22922e7b4664e83653a84331f0a95b985bff0c Mon Sep 17 00:00:00 2001 > From: "Kirill A. Shutemov" > Date: Fri, 17 Jun 2016 15:07:03 +0300 > Subject: [PATCH] hugetlb: fix nr_pmds accounting with shared page tables > > We account

Re: [PATCH] mm: fix account pmd page to the process

2016-06-17 Thread Kirill A. Shutemov
On Thu, Jun 16, 2016 at 09:47:46AM -0700, Mike Kravetz wrote: > On 06/16/2016 09:31 AM, Michal Hocko wrote: > > On Thu 16-06-16 09:05:23, Mike Kravetz wrote: > >> On 06/16/2016 08:43 AM, Michal Hocko wrote: > >>> [It seems that this patch has been sent several times and this > >>> particular copy

Re: [PATCH] mm: fix account pmd page to the process

2016-06-17 Thread Kirill A. Shutemov
On Thu, Jun 16, 2016 at 09:47:46AM -0700, Mike Kravetz wrote: > On 06/16/2016 09:31 AM, Michal Hocko wrote: > > On Thu 16-06-16 09:05:23, Mike Kravetz wrote: > >> On 06/16/2016 08:43 AM, Michal Hocko wrote: > >>> [It seems that this patch has been sent several times and this > >>> particular copy

Re: [PATCH] mm: fix account pmd page to the process

2016-06-17 Thread Michal Hocko
On Fri 17-06-16 19:56:15, zhongjiang wrote: > From: zhong jiang > > hen a process acquire a pmd table shared by other process, we > increase the account to current process. otherwise, a race result > in other tasks have set the pud entry. so it no need to increase it. I

Re: [PATCH] mm: fix account pmd page to the process

2016-06-17 Thread Michal Hocko
On Fri 17-06-16 19:56:15, zhongjiang wrote: > From: zhong jiang > > hen a process acquire a pmd table shared by other process, we > increase the account to current process. otherwise, a race result > in other tasks have set the pud entry. so it no need to increase it. I have really hard time to

Re: [PATCH] mm: fix account pmd page to the process

2016-06-17 Thread zhong jiang
On 2016/6/17 19:45, zhongjiang wrote: > From: zhong jiang > > hen a process acquire a pmd table shared by other process, we > increase the account to current process. otherwise, a race result > in other tasks have set the pud entry. so it no need to increase it. > >

Re: [PATCH] mm: fix account pmd page to the process

2016-06-17 Thread zhong jiang
On 2016/6/17 19:45, zhongjiang wrote: > From: zhong jiang > > hen a process acquire a pmd table shared by other process, we > increase the account to current process. otherwise, a race result > in other tasks have set the pud entry. so it no need to increase it. > > Signed-off-by: zhong jiang >

[PATCH] mm: fix account pmd page to the process

2016-06-17 Thread zhongjiang
From: zhong jiang hen a process acquire a pmd table shared by other process, we increase the account to current process. otherwise, a race result in other tasks have set the pud entry. so it no need to increase it. Signed-off-by: zhong jiang ---

[PATCH] mm: fix account pmd page to the process

2016-06-17 Thread zhongjiang
From: zhong jiang hen a process acquire a pmd table shared by other process, we increase the account to current process. otherwise, a race result in other tasks have set the pud entry. so it no need to increase it. Signed-off-by: zhong jiang --- mm/hugetlb.c | 2 +- 1 file changed, 1

Re: [PATCH] mm: fix account pmd page to the process

2016-06-17 Thread zhong jiang
On 2016/6/16 23:42, Michal Hocko wrote: > On Thu 16-06-16 19:36:11, zhongjiang wrote: >> From: zhong jiang >> >> when a process acquire a pmd table shared by other process, we >> increase the account to current process. otherwise, a race result >> in other tasks have set

Re: [PATCH] mm: fix account pmd page to the process

2016-06-17 Thread zhong jiang
On 2016/6/16 23:42, Michal Hocko wrote: > On Thu 16-06-16 19:36:11, zhongjiang wrote: >> From: zhong jiang >> >> when a process acquire a pmd table shared by other process, we >> increase the account to current process. otherwise, a race result >> in other tasks have set the pud entry. so it no

Re: [PATCH] mm: fix account pmd page to the process

2016-06-16 Thread Mike Kravetz
On 06/16/2016 09:31 AM, Michal Hocko wrote: > On Thu 16-06-16 09:05:23, Mike Kravetz wrote: >> On 06/16/2016 08:43 AM, Michal Hocko wrote: >>> [It seems that this patch has been sent several times and this >>> particular copy didn't add Kirill who has added this code CC him now] >>> >>> On Thu

Re: [PATCH] mm: fix account pmd page to the process

2016-06-16 Thread Mike Kravetz
On 06/16/2016 09:31 AM, Michal Hocko wrote: > On Thu 16-06-16 09:05:23, Mike Kravetz wrote: >> On 06/16/2016 08:43 AM, Michal Hocko wrote: >>> [It seems that this patch has been sent several times and this >>> particular copy didn't add Kirill who has added this code CC him now] >>> >>> On Thu

Re: [PATCH] mm: fix account pmd page to the process

2016-06-16 Thread Michal Hocko
On Thu 16-06-16 09:05:23, Mike Kravetz wrote: > On 06/16/2016 08:43 AM, Michal Hocko wrote: > > [It seems that this patch has been sent several times and this > > particular copy didn't add Kirill who has added this code CC him now] > > > > On Thu 16-06-16 17:42:14, Michal Hocko wrote: > >> On

Re: [PATCH] mm: fix account pmd page to the process

2016-06-16 Thread Michal Hocko
On Thu 16-06-16 09:05:23, Mike Kravetz wrote: > On 06/16/2016 08:43 AM, Michal Hocko wrote: > > [It seems that this patch has been sent several times and this > > particular copy didn't add Kirill who has added this code CC him now] > > > > On Thu 16-06-16 17:42:14, Michal Hocko wrote: > >> On

Re: [PATCH] mm: fix account pmd page to the process

2016-06-16 Thread Mike Kravetz
On 06/16/2016 08:43 AM, Michal Hocko wrote: > [It seems that this patch has been sent several times and this > particular copy didn't add Kirill who has added this code CC him now] > > On Thu 16-06-16 17:42:14, Michal Hocko wrote: >> On Thu 16-06-16 19:36:11, zhongjiang wrote: >>> From: zhong

Re: [PATCH] mm: fix account pmd page to the process

2016-06-16 Thread Mike Kravetz
On 06/16/2016 08:43 AM, Michal Hocko wrote: > [It seems that this patch has been sent several times and this > particular copy didn't add Kirill who has added this code CC him now] > > On Thu 16-06-16 17:42:14, Michal Hocko wrote: >> On Thu 16-06-16 19:36:11, zhongjiang wrote: >>> From: zhong

Re: [PATCH] mm: fix account pmd page to the process

2016-06-16 Thread Michal Hocko
[It seems that this patch has been sent several times and this particular copy didn't add Kirill who has added this code CC him now] On Thu 16-06-16 17:42:14, Michal Hocko wrote: > On Thu 16-06-16 19:36:11, zhongjiang wrote: > > From: zhong jiang > > > > when a process

Re: [PATCH] mm: fix account pmd page to the process

2016-06-16 Thread Michal Hocko
[It seems that this patch has been sent several times and this particular copy didn't add Kirill who has added this code CC him now] On Thu 16-06-16 17:42:14, Michal Hocko wrote: > On Thu 16-06-16 19:36:11, zhongjiang wrote: > > From: zhong jiang > > > > when a process acquire a pmd table

Re: [PATCH] mm: fix account pmd page to the process

2016-06-16 Thread Michal Hocko
On Thu 16-06-16 19:36:11, zhongjiang wrote: > From: zhong jiang > > when a process acquire a pmd table shared by other process, we > increase the account to current process. otherwise, a race result > in other tasks have set the pud entry. so it no need to increase it. >

Re: [PATCH] mm: fix account pmd page to the process

2016-06-16 Thread Michal Hocko
On Thu 16-06-16 19:36:11, zhongjiang wrote: > From: zhong jiang > > when a process acquire a pmd table shared by other process, we > increase the account to current process. otherwise, a race result > in other tasks have set the pud entry. so it no need to increase it. > > Signed-off-by: zhong

Re: [PATCH] mm: fix account pmd page to the process

2016-06-16 Thread zhong jiang
On 2016/6/16 19:22, zhongjiang wrote: > From: zhong jiang > > when a process acquire a pmd table shared by other process, we > increase the account to current process. otherwise, a race result > in other tasks have set the pud entry. so it no need to increase it. > >

Re: [PATCH] mm: fix account pmd page to the process

2016-06-16 Thread zhong jiang
On 2016/6/16 19:22, zhongjiang wrote: > From: zhong jiang > > when a process acquire a pmd table shared by other process, we > increase the account to current process. otherwise, a race result > in other tasks have set the pud entry. so it no need to increase it. > > Signed-off-by: zhong jiang >

[PATCH] mm: fix account pmd page to the process

2016-06-16 Thread zhongjiang
From: zhong jiang when a process acquire a pmd table shared by other process, we increase the account to current process. otherwise, a race result in other tasks have set the pud entry. so it no need to increase it. Signed-off-by: zhong jiang ---

[PATCH] mm: fix account pmd page to the process

2016-06-16 Thread zhongjiang
From: zhong jiang when a process acquire a pmd table shared by other process, we increase the account to current process. otherwise, a race result in other tasks have set the pud entry. so it no need to increase it. Signed-off-by: zhong jiang --- mm/hugetlb.c | 5 ++--- 1 file changed, 2

[PATCH] mm: fix account pmd page to the process

2016-06-16 Thread zhongjiang
From: zhong jiang when a process acquire a pmd table shared by other process, we increase the account to current process. otherwise, a race result in other tasks have set the pud entry. so it no need to increase it. Signed-off-by: zhong jiang ---

[PATCH] mm: fix account pmd page to the process

2016-06-16 Thread zhongjiang
From: zhong jiang when a process acquire a pmd table shared by other process, we increase the account to current process. otherwise, a race result in other tasks have set the pud entry. so it no need to increase it. Signed-off-by: zhong jiang --- mm/hugetlb.c | 5 ++--- 1 file changed, 2

[PATCH] mm: fix account pmd page to the process

2016-06-16 Thread zhongjiang
From: zhong jiang when a process acquire a pmd table shared by other process, we increase the account to current process. otherwise, a race result in other tasks have set the pud entry. so it no need to increase it. Signed-off-by: zhong jiang ---

[PATCH] mm: fix account pmd page to the process

2016-06-16 Thread zhongjiang
From: zhong jiang when a process acquire a pmd table shared by other process, we increase the account to current process. otherwise, a race result in other tasks have set the pud entry. so it no need to increase it. Signed-off-by: zhong jiang --- mm/hugetlb.c | 5 ++--- 1 file changed, 2

[PATCH] mm: fix account pmd page to the process

2016-06-16 Thread zhongjiang
From: zhong jiang when a process acquire a pmd table shared by other process, we increase the account to current process. otherwise, a race result in other tasks have set the pud entry. so it no need to increase it. Signed-off-by: zhong jiang ---

[PATCH] mm: fix account pmd page to the process

2016-06-16 Thread zhongjiang
From: zhong jiang when a process acquire a pmd table shared by other process, we increase the account to current process. otherwise, a race result in other tasks have set the pud entry. so it no need to increase it. Signed-off-by: zhong jiang --- mm/hugetlb.c | 5 ++--- 1 file changed, 2

[PATCH] mm: fix account pmd page to the process

2016-06-16 Thread zhongjiang
From: zhong jiang when a process acquire a pmd table shared by other process, we increase the account to current process. otherwise, a race result in other tasks have set the pud entry. so it no need to increase it. Signed-off-by: zhong jiang ---

[PATCH] mm: fix account pmd page to the process

2016-06-16 Thread zhongjiang
From: zhong jiang when a process acquire a pmd table shared by other process, we increase the account to current process. otherwise, a race result in other tasks have set the pud entry. so it no need to increase it. Signed-off-by: zhong jiang --- mm/hugetlb.c | 5 ++--- 1 file changed, 2

[PATCH] mm: fix account pmd page to the process

2016-06-16 Thread zhongjiang
From: zhong jiang when a process acquire a pmd table shared by other process, we increase the account to current process. otherwise, a race result in other tasks have set the pud entry. so it no need to increase it. Signed-off-by: zhong jiang ---

[PATCH] mm: fix account pmd page to the process

2016-06-16 Thread zhongjiang
From: zhong jiang when a process acquire a pmd table shared by other process, we increase the account to current process. otherwise, a race result in other tasks have set the pud entry. so it no need to increase it. Signed-off-by: zhong jiang --- mm/hugetlb.c | 5 ++--- 1 file changed, 2