Re: [PATCH 1/2] mm/page_alloc.c: cleanup obsolete KM_USER*

2015-04-25 Thread Anisse Astier
Hi David, First of all, thanks a lot for your time reviewing this series. On Fri, Apr 24, 2015 at 11:36 PM, David Rientjes wrote: > On Fri, 24 Apr 2015, Anisse Astier wrote: > >> diff --git a/mm/page_alloc.c b/mm/page_alloc.c >> index ebffa0e..05fcec9 100644 >> --- a/mm/page_alloc.c >> +++

Re: [PATCH 1/2] mm/page_alloc.c: cleanup obsolete KM_USER*

2015-04-25 Thread Anisse Astier
Hi David, First of all, thanks a lot for your time reviewing this series. On Fri, Apr 24, 2015 at 11:36 PM, David Rientjes rient...@google.com wrote: On Fri, 24 Apr 2015, Anisse Astier wrote: diff --git a/mm/page_alloc.c b/mm/page_alloc.c index ebffa0e..05fcec9 100644 --- a/mm/page_alloc.c

Re: [PATCH 1/2] mm/page_alloc.c: cleanup obsolete KM_USER*

2015-04-24 Thread David Rientjes
On Fri, 24 Apr 2015, Anisse Astier wrote: > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > index ebffa0e..05fcec9 100644 > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -380,16 +380,10 @@ void prep_compound_page(struct page *page, unsigned > long order) > } > } > > -static inline

[PATCH 1/2] mm/page_alloc.c: cleanup obsolete KM_USER*

2015-04-24 Thread Anisse Astier
It's been five years now that KM_* kmap flags have been removed and that we can call clear_highpage from any context. So we simplify prep_zero_pages accordingly and rename it in the process. Signed-off-by: Anisse Astier --- mm/page_alloc.c | 10 ++ 1 file changed, 2 insertions(+), 8

[PATCH 1/2] mm/page_alloc.c: cleanup obsolete KM_USER*

2015-04-24 Thread Anisse Astier
It's been five years now that KM_* kmap flags have been removed and that we can call clear_highpage from any context. So we simplify prep_zero_pages accordingly and rename it in the process. Signed-off-by: Anisse Astier ani...@astier.eu --- mm/page_alloc.c | 10 ++ 1 file changed, 2

Re: [PATCH 1/2] mm/page_alloc.c: cleanup obsolete KM_USER*

2015-04-24 Thread David Rientjes
On Fri, 24 Apr 2015, Anisse Astier wrote: diff --git a/mm/page_alloc.c b/mm/page_alloc.c index ebffa0e..05fcec9 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -380,16 +380,10 @@ void prep_compound_page(struct page *page, unsigned long order) } } -static inline void