Re: [PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-25 Thread Mel Gorman
On Thu, Feb 20, 2014 at 10:51:44AM +0100, Michal Hocko wrote: > We had a report about strange OOM killer strikes on a PPC machine > although there was a lot of swap free and a tons of anonymous memory > which could be swapped out. In the end it turned out that the OOM was > a side effect of zone

Re: [PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-25 Thread Mel Gorman
On Thu, Feb 20, 2014 at 10:51:44AM +0100, Michal Hocko wrote: We had a report about strange OOM killer strikes on a PPC machine although there was a lot of swap free and a tons of anonymous memory which could be swapped out. In the end it turned out that the OOM was a side effect of zone

Re: [PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-21 Thread Nishanth Aravamudan
On 21.02.2014 [14:07:35 -0800], Andrew Morton wrote: > On Thu, 20 Feb 2014 10:51:44 +0100 Michal Hocko wrote: > > > We had a report about strange OOM killer strikes on a PPC machine > > although there was a lot of swap free and a tons of anonymous memory > > which could be swapped out. In the

Re: [PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-21 Thread Andrew Morton
On Thu, 20 Feb 2014 10:51:44 +0100 Michal Hocko wrote: > We had a report about strange OOM killer strikes on a PPC machine > although there was a lot of swap free and a tons of anonymous memory > which could be swapped out. In the end it turned out that the OOM was > a side effect of zone

Re: [PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-21 Thread Michal Hocko
On Thu 20-02-14 10:51:44, Michal Hocko wrote: > We had a report about strange OOM killer strikes on a PPC machine > although there was a lot of swap free and a tons of anonymous memory > which could be swapped out. In the end it turned out that the OOM was > a side effect of zone reclaim which

Re: [PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-21 Thread Andrew Morton
On Thu, 20 Feb 2014 10:51:44 +0100 Michal Hocko mho...@suse.cz wrote: We had a report about strange OOM killer strikes on a PPC machine although there was a lot of swap free and a tons of anonymous memory which could be swapped out. In the end it turned out that the OOM was a side effect of

Re: [PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-21 Thread Nishanth Aravamudan
On 21.02.2014 [14:07:35 -0800], Andrew Morton wrote: On Thu, 20 Feb 2014 10:51:44 +0100 Michal Hocko mho...@suse.cz wrote: We had a report about strange OOM killer strikes on a PPC machine although there was a lot of swap free and a tons of anonymous memory which could be swapped out. In

Re: [PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-21 Thread Michal Hocko
On Thu 20-02-14 10:51:44, Michal Hocko wrote: We had a report about strange OOM killer strikes on a PPC machine although there was a lot of swap free and a tons of anonymous memory which could be swapped out. In the end it turned out that the OOM was a side effect of zone reclaim which wasn't

[PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-20 Thread Michal Hocko
We had a report about strange OOM killer strikes on a PPC machine although there was a lot of swap free and a tons of anonymous memory which could be swapped out. In the end it turned out that the OOM was a side effect of zone reclaim which wasn't doesn't unmap and swapp out and so the system was

Re: [RFC PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-20 Thread Michal Hocko
On Wed 19-02-14 15:05:58, Nishanth Aravamudan wrote: > On 19.02.2014 [13:56:00 -0800], David Rientjes wrote: > > On Wed, 19 Feb 2014, Nishanth Aravamudan wrote: > > > > > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > > > > index 3e953f07edb0..4a44bdc7a8cf 100644 > > > > --- a/mm/page_alloc.c

Re: [RFC PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-20 Thread Michal Hocko
On Wed 19-02-14 15:05:58, Nishanth Aravamudan wrote: On 19.02.2014 [13:56:00 -0800], David Rientjes wrote: On Wed, 19 Feb 2014, Nishanth Aravamudan wrote: diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 3e953f07edb0..4a44bdc7a8cf 100644 --- a/mm/page_alloc.c +++

[PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-20 Thread Michal Hocko
We had a report about strange OOM killer strikes on a PPC machine although there was a lot of swap free and a tons of anonymous memory which could be swapped out. In the end it turned out that the OOM was a side effect of zone reclaim which wasn't doesn't unmap and swapp out and so the system was

Re: [RFC PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-19 Thread Nishanth Aravamudan
On 19.02.2014 [13:56:00 -0800], David Rientjes wrote: > On Wed, 19 Feb 2014, Nishanth Aravamudan wrote: > > > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > > > index 3e953f07edb0..4a44bdc7a8cf 100644 > > > --- a/mm/page_alloc.c > > > +++ b/mm/page_alloc.c > > > @@ -1855,7 +1855,7 @@ static

Re: [RFC PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-19 Thread David Rientjes
On Wed, 19 Feb 2014, Nishanth Aravamudan wrote: > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > > index 3e953f07edb0..4a44bdc7a8cf 100644 > > --- a/mm/page_alloc.c > > +++ b/mm/page_alloc.c > > @@ -1855,7 +1855,7 @@ static void __paginginit init_zone_allows_reclaim(int > > nid) > > { > >

Re: [RFC PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-19 Thread Michal Hocko
On Wed 19-02-14 09:49:41, Nishanth Aravamudan wrote: > On 19.02.2014 [18:32:59 +0100], Michal Hocko wrote: > > On Wed 19-02-14 09:16:28, Nishanth Aravamudan wrote: [...] > > > I don't think this will work, because what sets N_HIGH_MEMORY (and > > > shouldn't it be N_MEMORY?) > > > > This should

Re: [RFC PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-19 Thread Nishanth Aravamudan
On 19.02.2014 [18:03:03 +0100], Michal Hocko wrote: > We had a report about strange OOM killer strikes on a PPC machine > although there was a lot of swap free and a tons of anonymous memory > which could be swapped out. In the end it turned out that the OOM was > a side effect of zone reclaim

Re: [RFC PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-19 Thread Nishanth Aravamudan
On 19.02.2014 [18:32:59 +0100], Michal Hocko wrote: > On Wed 19-02-14 09:16:28, Nishanth Aravamudan wrote: > > On 19.02.2014 [18:03:03 +0100], Michal Hocko wrote: > > > We had a report about strange OOM killer strikes on a PPC machine > > > although there was a lot of swap free and a tons of

Re: [RFC PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-19 Thread Michal Hocko
On Wed 19-02-14 09:16:28, Nishanth Aravamudan wrote: > On 19.02.2014 [18:03:03 +0100], Michal Hocko wrote: > > We had a report about strange OOM killer strikes on a PPC machine > > although there was a lot of swap free and a tons of anonymous memory > > which could be swapped out. In the end it

Re: [RFC PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-19 Thread Nishanth Aravamudan
On 19.02.2014 [18:03:03 +0100], Michal Hocko wrote: > We had a report about strange OOM killer strikes on a PPC machine > although there was a lot of swap free and a tons of anonymous memory > which could be swapped out. In the end it turned out that the OOM was > a side effect of zone reclaim

[RFC PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-19 Thread Michal Hocko
We had a report about strange OOM killer strikes on a PPC machine although there was a lot of swap free and a tons of anonymous memory which could be swapped out. In the end it turned out that the OOM was a side effect of zone reclaim which wasn't doesn't unmap and swapp out and so the system was

[RFC PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-19 Thread Michal Hocko
We had a report about strange OOM killer strikes on a PPC machine although there was a lot of swap free and a tons of anonymous memory which could be swapped out. In the end it turned out that the OOM was a side effect of zone reclaim which wasn't doesn't unmap and swapp out and so the system was

Re: [RFC PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-19 Thread Nishanth Aravamudan
On 19.02.2014 [18:03:03 +0100], Michal Hocko wrote: We had a report about strange OOM killer strikes on a PPC machine although there was a lot of swap free and a tons of anonymous memory which could be swapped out. In the end it turned out that the OOM was a side effect of zone reclaim which

Re: [RFC PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-19 Thread Michal Hocko
On Wed 19-02-14 09:16:28, Nishanth Aravamudan wrote: On 19.02.2014 [18:03:03 +0100], Michal Hocko wrote: We had a report about strange OOM killer strikes on a PPC machine although there was a lot of swap free and a tons of anonymous memory which could be swapped out. In the end it turned

Re: [RFC PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-19 Thread Nishanth Aravamudan
On 19.02.2014 [18:32:59 +0100], Michal Hocko wrote: On Wed 19-02-14 09:16:28, Nishanth Aravamudan wrote: On 19.02.2014 [18:03:03 +0100], Michal Hocko wrote: We had a report about strange OOM killer strikes on a PPC machine although there was a lot of swap free and a tons of anonymous

Re: [RFC PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-19 Thread Nishanth Aravamudan
On 19.02.2014 [18:03:03 +0100], Michal Hocko wrote: We had a report about strange OOM killer strikes on a PPC machine although there was a lot of swap free and a tons of anonymous memory which could be swapped out. In the end it turned out that the OOM was a side effect of zone reclaim which

Re: [RFC PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-19 Thread Michal Hocko
On Wed 19-02-14 09:49:41, Nishanth Aravamudan wrote: On 19.02.2014 [18:32:59 +0100], Michal Hocko wrote: On Wed 19-02-14 09:16:28, Nishanth Aravamudan wrote: [...] I don't think this will work, because what sets N_HIGH_MEMORY (and shouldn't it be N_MEMORY?) This should be the same

Re: [RFC PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-19 Thread David Rientjes
On Wed, 19 Feb 2014, Nishanth Aravamudan wrote: diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 3e953f07edb0..4a44bdc7a8cf 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -1855,7 +1855,7 @@ static void __paginginit init_zone_allows_reclaim(int nid) { int i; -

Re: [RFC PATCH] mm: exclude memory less nodes from zone_reclaim

2014-02-19 Thread Nishanth Aravamudan
On 19.02.2014 [13:56:00 -0800], David Rientjes wrote: On Wed, 19 Feb 2014, Nishanth Aravamudan wrote: diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 3e953f07edb0..4a44bdc7a8cf 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -1855,7 +1855,7 @@ static void __paginginit