Re: [PATCH 04/10] mm, page_alloc: Remove unnecessary taking of a seqlock when cpusets are disabled

2015-08-17 Thread Mel Gorman
On Wed, Aug 12, 2015 at 05:16:50PM -0700, David Rientjes wrote: > On Wed, 12 Aug 2015, Mel Gorman wrote: > > > There is a seqcounter that protects against spurious allocation failures > > when a task is changing the allowed nodes in a cpuset. There is no need > > to check the seqcounter until a

Re: [PATCH 04/10] mm, page_alloc: Remove unnecessary taking of a seqlock when cpusets are disabled

2015-08-17 Thread Mel Gorman
On Wed, Aug 12, 2015 at 05:16:50PM -0700, David Rientjes wrote: On Wed, 12 Aug 2015, Mel Gorman wrote: There is a seqcounter that protects against spurious allocation failures when a task is changing the allowed nodes in a cpuset. There is no need to check the seqcounter until a cpuset

Re: [PATCH 04/10] mm, page_alloc: Remove unnecessary taking of a seqlock when cpusets are disabled

2015-08-12 Thread David Rientjes
On Wed, 12 Aug 2015, Mel Gorman wrote: > There is a seqcounter that protects against spurious allocation failures > when a task is changing the allowed nodes in a cpuset. There is no need > to check the seqcounter until a cpuset exists. > > Signed-off-by: Mel Gorman > Acked-by: David Rientjes

[PATCH 04/10] mm, page_alloc: Remove unnecessary taking of a seqlock when cpusets are disabled

2015-08-12 Thread Mel Gorman
There is a seqcounter that protects against spurious allocation failures when a task is changing the allowed nodes in a cpuset. There is no need to check the seqcounter until a cpuset exists. Signed-off-by: Mel Gorman Acked-by: David Rientjes Acked-by: Vlastimil Babka ---

Re: [PATCH 04/10] mm, page_alloc: Remove unnecessary taking of a seqlock when cpusets are disabled

2015-08-12 Thread David Rientjes
On Wed, 12 Aug 2015, Mel Gorman wrote: There is a seqcounter that protects against spurious allocation failures when a task is changing the allowed nodes in a cpuset. There is no need to check the seqcounter until a cpuset exists. Signed-off-by: Mel Gorman mgor...@techsingularity.net

[PATCH 04/10] mm, page_alloc: Remove unnecessary taking of a seqlock when cpusets are disabled

2015-08-12 Thread Mel Gorman
There is a seqcounter that protects against spurious allocation failures when a task is changing the allowed nodes in a cpuset. There is no need to check the seqcounter until a cpuset exists. Signed-off-by: Mel Gorman mgor...@techsingularity.net Acked-by: David Rientjes rient...@google.com

Re: [PATCH 04/10] mm, page_alloc: Remove unnecessary taking of a seqlock when cpusets are disabled

2015-07-28 Thread Vlastimil Babka
On 07/20/2015 10:00 AM, Mel Gorman wrote: From: Mel Gorman There is a seqcounter that protects spurious allocation fails when a task is changing the allowed nodes in a cpuset. There is no need to check the seqcounter until a cpuset exists. If cpusets become enabled betwen _begin and _retry,

Re: [PATCH 04/10] mm, page_alloc: Remove unnecessary taking of a seqlock when cpusets are disabled

2015-07-28 Thread Vlastimil Babka
On 07/20/2015 10:00 AM, Mel Gorman wrote: From: Mel Gorman mgor...@suse.de There is a seqcounter that protects spurious allocation fails when a task is changing the allowed nodes in a cpuset. There is no need to check the seqcounter until a cpuset exists. If cpusets become enabled betwen

Re: [PATCH 04/10] mm, page_alloc: Remove unnecessary taking of a seqlock when cpusets are disabled

2015-07-21 Thread David Rientjes
On Mon, 20 Jul 2015, Mel Gorman wrote: > From: Mel Gorman > > There is a seqcounter that protects spurious allocation fails when a task > is changing the allowed nodes in a cpuset. There is no need to check the > seqcounter until a cpuset exists. > > Signed-off-by: Mel Gorman Acked-by: David

Re: [PATCH 04/10] mm, page_alloc: Remove unnecessary taking of a seqlock when cpusets are disabled

2015-07-21 Thread David Rientjes
On Mon, 20 Jul 2015, Mel Gorman wrote: From: Mel Gorman mgor...@suse.de There is a seqcounter that protects spurious allocation fails when a task is changing the allowed nodes in a cpuset. There is no need to check the seqcounter until a cpuset exists. Signed-off-by: Mel Gorman

[PATCH 04/10] mm, page_alloc: Remove unnecessary taking of a seqlock when cpusets are disabled

2015-07-20 Thread Mel Gorman
From: Mel Gorman There is a seqcounter that protects spurious allocation fails when a task is changing the allowed nodes in a cpuset. There is no need to check the seqcounter until a cpuset exists. Signed-off-by: Mel Gorman --- include/linux/cpuset.h | 6 ++ 1 file changed, 6

[PATCH 04/10] mm, page_alloc: Remove unnecessary taking of a seqlock when cpusets are disabled

2015-07-20 Thread Mel Gorman
From: Mel Gorman mgor...@suse.de There is a seqcounter that protects spurious allocation fails when a task is changing the allowed nodes in a cpuset. There is no need to check the seqcounter until a cpuset exists. Signed-off-by: Mel Gorman mgor...@sujse.de --- include/linux/cpuset.h | 6 ++