Re: [PATCHv8 resend 1/2] x86/vdso: add mremap hook to vm_special_mapping

2016-05-16 Thread Dmitry Safonov
On 05/16/2016 04:55 PM, Ingo Molnar wrote: Ok, this looks useful - please add this information to the changelog (with typos fixed). Thanks will add to v9.

Re: [PATCHv8 resend 1/2] x86/vdso: add mremap hook to vm_special_mapping

2016-05-16 Thread Ingo Molnar
* Dmitry Safonov wrote: > On 05/16/2016 01:54 PM, Ingo Molnar wrote: > > > >* Dmitry Safonov wrote: > > > >>On 05/10/2016 04:29 PM, Dmitry Safonov wrote: > >>>Add possibility for userspace 32-bit applications to move > >>>vdso mapping. Previously, when userspace app called > >>>mremap for vdso,

Re: [PATCHv8 resend 1/2] x86/vdso: add mremap hook to vm_special_mapping

2016-05-16 Thread Dmitry Safonov
On 05/16/2016 01:54 PM, Ingo Molnar wrote: * Dmitry Safonov wrote: On 05/10/2016 04:29 PM, Dmitry Safonov wrote: Add possibility for userspace 32-bit applications to move vdso mapping. Previously, when userspace app called mremap for vdso, in return path it would land on previous address of

Re: [PATCHv8 resend 1/2] x86/vdso: add mremap hook to vm_special_mapping

2016-05-16 Thread Ingo Molnar
* Dmitry Safonov wrote: > On 05/10/2016 04:29 PM, Dmitry Safonov wrote: > >Add possibility for userspace 32-bit applications to move > >vdso mapping. Previously, when userspace app called > >mremap for vdso, in return path it would land on previous > >address of vdso page, resulting in segmentat

Re: [PATCHv8 resend 1/2] x86/vdso: add mremap hook to vm_special_mapping

2016-05-16 Thread Dmitry Safonov
On 05/10/2016 04:29 PM, Dmitry Safonov wrote: Add possibility for userspace 32-bit applications to move vdso mapping. Previously, when userspace app called mremap for vdso, in return path it would land on previous address of vdso page, resulting in segmentation violation. Now it lands fine and re