[uml-devel] duplicated mem_map (struct page) array?

2014-05-30 Thread enjoy mindful
Hi, When I'm trace uml kernel with gdb, I found there are two mem_map (struct page) arrays. 1) the first one created in init_maps function, and pointed by *local* pointer struct page *map in init_maps function arch/um/kernel/um_arch.c 264 int __init linux_main(int argc, char **argv) . 350

Re: [uml-devel] duplicated mem_map (struct page) array?

2014-05-30 Thread Richard Weinberger
On Fri, May 30, 2014 at 10:24 AM, enjoy mindful wrote: > Hi, > When I'm trace uml kernel with gdb, I found there are two mem_map > (struct page) arrays. > > 1) the first one created in init_maps function, and pointed by *local* > pointer struct page *map in init_maps function > > arch/um/kernel/u

Re: [uml-devel] duplicated mem_map (struct page) array?

2014-05-31 Thread Richard Weinberger
On Fri, May 30, 2014 at 11:17 AM, Richard Weinberger wrote: > On Fri, May 30, 2014 at 10:24 AM, enjoy mindful > wrote: >> Hi, >> When I'm trace uml kernel with gdb, I found there are two mem_map >> (struct page) arrays. >> >> 1) the first one created in init_maps function, and pointed by *local