[PATCH] delete unnecessary bootmem struct page array

2014-06-02 Thread Real Name
From: Honggang Li 1) uml kernel bootmem managed through bootmem_data->node_bootmem_map, not the struct page array, so the array is unnecessary. 2) the bootmem struct page array has been pointed by a *local* pointer, struct page *map, in init_maps function. The array can be accessed only in init_

Re: [PATCH] delete unnecessary bootmem struct page array

2014-06-01 Thread Richard Weinberger
Am 01.06.2014 15:08, schrieb Real Name: > From: Honggang Li > > 1) uml kernel bootmem managed through bootmem_data->node_bootmem_map, > not the struct page array, so the array is unnecessary. > > 2) the bootmem struct page array has been pointed by a *local* pointer, > struct page *map, in init_

[PATCH] delete unnecessary bootmem struct page array

2014-06-01 Thread Real Name
From: Honggang Li 1) uml kernel bootmem managed through bootmem_data->node_bootmem_map, not the struct page array, so the array is unnecessary. 2) the bootmem struct page array has been pointed by a *local* pointer, struct page *map, in init_maps function. The array can be accessed only in init_

[PATCH] delete unnecessary bootmem struct page array

2014-06-01 Thread Real Name
From: Honggang Li The patch based on linux-next-20140530. Honggang Li (1): delete unnecessary bootmem struct page array arch/um/kernel/um_arch.c | 6 -- 1 file changed, 6 deletions(-) -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH] delete unnecessary bootmem struct page array

2014-06-01 Thread Richard Weinberger
Hi! Am 01.06.2014 02:24, schrieb Real Name: > 1) uml kernel bootmem managed through bootmem_data->node_bootmem_map, > not struct page array, so it is unnecessary. > > 2) the struct page array allocate has been pointer by a *loacl* pointer > struct page *map in init_maps function. The array can't

[PATCH] delete unnecessary bootmem struct page array

2014-05-31 Thread Real Name
1) uml kernel bootmem managed through bootmem_data->node_bootmem_map, not struct page array, so it is unnecessary. 2) the struct page array allocate has been pointer by a *loacl* pointer struct page *map in init_maps function. The array can't be access after the init_maps exit. As a result, there

Re: [PATCH] delete unnecessary bootmem struct page array

2014-05-31 Thread Real Name
On Sun, Jun 01, 2014 at 07:34:42AM +0800, Real Name wrote: I'm very sorry. Please ignore this email, the wrong patch had been sent out. > 1) uml kernel bootmem managed through bootmem_data->node_bootmem_map, > not struct page array, so it is unnecessary. > > 2) the struct page array allocate has

[PATCH] delete unnecessary bootmem struct page array

2014-05-31 Thread Real Name
1) uml kernel bootmem managed through bootmem_data->node_bootmem_map, not struct page array, so it is unnecessary. 2) the struct page array allocate has been pointer by a *loacl* pointer struct page *map in init_maps function. The array can't be access after the init_maps exit. As a result, there