Re: [PATCH v7u1 31/31] x86, 64bit, mm: hibernate use generic mapping_init

2013-01-04 Thread Rafael J. Wysocki
On Friday, January 04, 2013 01:59:33 PM Yinghai Lu wrote: > On Fri, Jan 4, 2013 at 3:43 AM, Rafael J. Wysocki wrote: > > On Thursday, January 03, 2013 04:48:51 PM Yinghai Lu wrote: > >> Make it only map range in pfn_mapped array. > > > > Can you please explain why that should be sufficient? > > I

Re: [PATCH v7u1 31/31] x86, 64bit, mm: hibernate use generic mapping_init

2013-01-04 Thread Yinghai Lu
On Fri, Jan 4, 2013 at 3:43 AM, Rafael J. Wysocki wrote: > On Thursday, January 03, 2013 04:48:51 PM Yinghai Lu wrote: >> Make it only map range in pfn_mapped array. > > Can you please explain why that should be sufficient? It is needed. http://git.kernel.org/?p=linux/kernel/git/tip/tip.git;a=co

Re: [PATCH v7u1 31/31] x86, 64bit, mm: hibernate use generic mapping_init

2013-01-04 Thread Rafael J. Wysocki
On Thursday, January 03, 2013 04:48:51 PM Yinghai Lu wrote: > Make it only map range in pfn_mapped array. Can you please explain why that should be sufficient? Have you tested it? > and it has kernel mapping with EXEC. That's because it needs to execute code from one of those pages and it doesn