Re: [PATCH v2 3/3] mm: Don't manually decrement num_poisoned_pages

2019-06-28 Thread David Hildenbrand
On 26.06.19 08:11, Alastair D'Silva wrote: > From: Alastair D'Silva > > Use the function written to do it instead. > > Signed-off-by: Alastair D'Silva > --- > mm/sparse.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/mm/sparse.c b/mm/sparse.c > index 1ec32aef5590

Re: [PATCH v2 3/3] mm: Don't manually decrement num_poisoned_pages

2019-06-25 Thread Michal Hocko
On Wed 26-06-19 16:11:23, Alastair D'Silva wrote: > From: Alastair D'Silva > > Use the function written to do it instead. I am not sure a single line helper is a great win but this makes the code consistent at least. > Signed-off-by: Alastair D'Silva Acked-by: Michal Hocko > --- > mm/spars

[PATCH v2 3/3] mm: Don't manually decrement num_poisoned_pages

2019-06-25 Thread Alastair D'Silva
From: Alastair D'Silva Use the function written to do it instead. Signed-off-by: Alastair D'Silva --- mm/sparse.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mm/sparse.c b/mm/sparse.c index 1ec32aef5590..d9b3625bfdf0 100644 --- a/mm/sparse.c +++ b/mm/sparse.c @@ -11,