Re: [PATCH] x86/mm: stop allocating pmd page if failed

2012-07-25 Thread Jeremy Fitzhardinge
On 07/24/2012 06:15 AM, Yuanhan Liu wrote: > The old code would call __get_free_page() even though previous > allocation fail met. This is not needed. Yeah, I guess, but its hardly worth changing. J > > Signed-off-by: Yuanhan Liu > Cc: Jeremy Fitzhardinge > Cc: Thomas Gleixner > Cc:

Re: [PATCH] x86/mm: stop allocating pmd page if failed

2012-07-25 Thread Jeremy Fitzhardinge
On 07/24/2012 06:15 AM, Yuanhan Liu wrote: The old code would call __get_free_page() even though previous allocation fail met. This is not needed. Yeah, I guess, but its hardly worth changing. J Signed-off-by: Yuanhan Liu yliu.n...@gmail.com Cc: Jeremy Fitzhardinge jer...@goop.org

[PATCH] x86/mm: stop allocating pmd page if failed

2012-07-24 Thread Yuanhan Liu
The old code would call __get_free_page() even though previous allocation fail met. This is not needed. Signed-off-by: Yuanhan Liu Cc: Jeremy Fitzhardinge Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" --- arch/x86/mm/pgtable.c | 18 +- 1 files changed, 9

[PATCH] x86/mm: stop allocating pmd page if failed

2012-07-24 Thread Yuanhan Liu
The old code would call __get_free_page() even though previous allocation fail met. This is not needed. Signed-off-by: Yuanhan Liu yliu.n...@gmail.com Cc: Jeremy Fitzhardinge jer...@goop.org Cc: Thomas Gleixner t...@linutronix.de Cc: Ingo Molnar mi...@elte.hu Cc: H. Peter Anvin h...@zytor.com ---