diff options
-rw-r--r-- | vm/vm_map.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vm/vm_map.c b/vm/vm_map.c index 6badec66..49b9e629 100644 --- a/vm/vm_map.c +++ b/vm/vm_map.c @@ -1003,6 +1003,8 @@ vm_map_info(struct vm_map *map) else name = "map"; + mutex_lock(&map->lock); + printk("vm_map: %s: %016lx-%016lx\n" "vm_map: start end " "size offset flags type\n", name, map->start, map->end); @@ -1019,4 +1021,6 @@ vm_map_info(struct vm_map *map) } printk("vm_map: total: %zuk\n", map->size >> 10); + + mutex_unlock(&map->lock); } |