diff options
author | Guenter Roeck <linux@roeck-us.net> | 2018-03-01 14:40:52 -0800 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-03-02 12:48:40 +0100 |
commit | 61e18270f604c744ed9f8f1b740022516f9726f8 (patch) | |
tree | d9bb7e2c84e8bb877a51d015ddbd606b2652f9af /arch/mips | |
parent | d5feec04fe578c8dbd9e2e1439afc2f0af761ed4 (diff) |
s390: Fix runtime warning about negative pgtables_bytes
When running s390 images with 'compat' processes, the following
BUG is seen repeatedly.
BUG: non-zero pgtables_bytes on freeing mm: -16384
Bisect points to commit b4e98d9ac775 ("mm: account pud page tables").
Analysis shows that init_new_context() is called with
mm->context.asce_limit set to _REGION3_SIZE. In this situation,
pgtables_bytes remains set to 0 and is not increased. The message is
displayed when the affected process dies and mm_dec_nr_puds() is called.
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Fixes: b4e98d9ac775 ("mm: account pud page tables")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/mips')
0 files changed, 0 insertions, 0 deletions