Re: [PATCH v8, part3 12/14] mm: correctly update zone->mamaged_pages

2013-05-28 Thread Liu Jiang
Hi Sergei, Thanks for review! On 05/27/2013 09:57 PM, Sergei Shtylyov wrote: > On 26-05-2013 17:38, Jiang Liu wrote: > >Typo in the subject: s/mamaged_pages/managed_pages/. Will fix it in next version. > >> Enhance adjust_managed_page_count() to adjust totalhigh_pages for >>

Re: [PATCH v8, part3 12/14] mm: correctly update zone-mamaged_pages

2013-05-28 Thread Liu Jiang
Hi Sergei, Thanks for review! On 05/27/2013 09:57 PM, Sergei Shtylyov wrote: On 26-05-2013 17:38, Jiang Liu wrote: Typo in the subject: s/mamaged_pages/managed_pages/. Will fix it in next version. Enhance adjust_managed_page_count() to adjust totalhigh_pages for highmem pages.

Re: [PATCH v8, part3 12/14] mm: correctly update zone->mamaged_pages

2013-05-27 Thread Sergei Shtylyov
On 26-05-2013 17:38, Jiang Liu wrote: Typo in the subject: s/mamaged_pages/managed_pages/. Enhance adjust_managed_page_count() to adjust totalhigh_pages for highmem pages. And change code which directly adjusts totalram_pages to use adjust_managed_page_count() because it adjusts

Re: [PATCH v8, part3 12/14] mm: correctly update zone-mamaged_pages

2013-05-27 Thread Sergei Shtylyov
On 26-05-2013 17:38, Jiang Liu wrote: Typo in the subject: s/mamaged_pages/managed_pages/. Enhance adjust_managed_page_count() to adjust totalhigh_pages for highmem pages. And change code which directly adjusts totalram_pages to use adjust_managed_page_count() because it adjusts

[PATCH v8, part3 12/14] mm: correctly update zone->mamaged_pages

2013-05-26 Thread Jiang Liu
Enhance adjust_managed_page_count() to adjust totalhigh_pages for highmem pages. And change code which directly adjusts totalram_pages to use adjust_managed_page_count() because it adjusts totalram_pages, totalhigh_pages and zone->managed_pages altogether in a safe way. Remove

[PATCH v8, part3 12/14] mm: correctly update zone-mamaged_pages

2013-05-26 Thread Jiang Liu
Enhance adjust_managed_page_count() to adjust totalhigh_pages for highmem pages. And change code which directly adjusts totalram_pages to use adjust_managed_page_count() because it adjusts totalram_pages, totalhigh_pages and zone-managed_pages altogether in a safe way. Remove