commit | fc7e48aad35bf98c84cf21aed5c2f100c5ce009b | [log] [tgz] |
---|---|---|
author | Heiko Carstens <heiko.carstens@de.ibm.com> | Mon Oct 08 07:54:32 2012 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Tue Oct 09 14:17:01 2012 +0200 |
tree | 1d33f49ac9705e1939cbe122d5aafb57aa7af07a | |
parent | c972cc60c23f5a6309292bfcc91a441743ba027e [diff] |
s390/mm,vmem: fix vmem_add_mem()/vmem_remove_range() vmem_add_mem() should only then insert a large page if pmd_none() is true for the specific entry. We might have a leftover from a previous mapping. In addition make vmem_remove_range()'s page table walk code more complete and fix a couple of potential endless loops (which can never happen :). Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>