Re: [PATCH] parisc: fix pmd accounting with 3-level page tables

2015-03-13 Thread Graham Gower
This fixes the problem on my C8000. Tested-by: graham.go...@gmail.com On 13 March 2015 at 21:00, Kirill A. Shutemov wrote: > There's hack in pgd_alloc() on parisc to initialize one pmd, which is > not accounted. It leads to underflow on exit. > > Let's adjust nr_pmds on pgd_alloc() to get accoun

[PATCH] parisc: fix pmd accounting with 3-level page tables

2015-03-13 Thread Kirill A. Shutemov
There's hack in pgd_alloc() on parisc to initialize one pmd, which is not accounted. It leads to underflow on exit. Let's adjust nr_pmds on pgd_alloc() to get accounting correct. Signed-off-by: Kirill A. Shutemov Cc: John David Anglin Cc: Aaro Koskinen Cc: Graham Gower Cc: Domenico Andreoli