Re: [PATCH] vmcore: call remap_pfn_range() separately for respective partial pages

2013-12-04 Thread HATAYAMA Daisuke
(2013/12/04 0:12), Vivek Goyal wrote: On Tue, Dec 03, 2013 at 02:16:35PM +0900, HATAYAMA Daisuke wrote: [..] Even if copying partial pages into the 2nd kernel, we need to use ioremap() once on them, and I think the ioremap() is exactly similar to remap_pfn_range() for a single page. There seems

Re: [PATCH] vmcore: call remap_pfn_range() separately for respective partial pages

2013-12-03 Thread Vivek Goyal
On Tue, Dec 03, 2013 at 02:16:35PM +0900, HATAYAMA Daisuke wrote: [..] > >Even if copying partial pages into the 2nd kernel, we need to use ioremap() > >once on them, and I think the ioremap() is exactly similar to > >remap_pfn_range() for a single page. There seems no difference on safeness > >be

Re: [PATCH] vmcore: call remap_pfn_range() separately for respective partial pages

2013-12-03 Thread Vivek Goyal
On Tue, Dec 03, 2013 at 10:18:16AM +0900, HATAYAMA Daisuke wrote: > (2013/12/03 0:27), Vivek Goyal wrote: > >On Thu, Nov 28, 2013 at 05:48:02PM +0900, HATAYAMA Daisuke wrote: > >>Hello Vivek, > >> > >>Here is a patch set for mmap failure for /proc/vmcore. > >>Could you try to use this on the proble

Re: [PATCH] vmcore: call remap_pfn_range() separately for respective partial pages

2013-12-02 Thread HATAYAMA Daisuke
(2013/12/03 10:18), HATAYAMA Daisuke wrote: (2013/12/03 0:27), Vivek Goyal wrote: On Thu, Nov 28, 2013 at 05:48:02PM +0900, HATAYAMA Daisuke wrote: Hello Vivek, Here is a patch set for mmap failure for /proc/vmcore. Could you try to use this on the problematic system? This patch doesn't copy

Re: [PATCH] vmcore: call remap_pfn_range() separately for respective partial pages

2013-12-02 Thread HATAYAMA Daisuke
(2013/12/03 0:27), Vivek Goyal wrote: On Thu, Nov 28, 2013 at 05:48:02PM +0900, HATAYAMA Daisuke wrote: Hello Vivek, Here is a patch set for mmap failure for /proc/vmcore. Could you try to use this on the problematic system? This patch doesn't copy partial pages to the 2nd kernel, only prepare

Re: [PATCH] vmcore: call remap_pfn_range() separately for respective partial pages

2013-12-02 Thread Vivek Goyal
On Thu, Nov 28, 2013 at 05:48:02PM +0900, HATAYAMA Daisuke wrote: > Hello Vivek, > > Here is a patch set for mmap failure for /proc/vmcore. > Could you try to use this on the problematic system? > > This patch doesn't copy partial pages to the 2nd kernel, only prepares > vmcore objects for respec