This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: install_special_mapping && vm_pgoff (Was: vvar, gup && coredump)
- From: Oleg Nesterov <oleg at redhat dot com>
- To: Andy Lutomirski <luto at amacapital dot net>
- Cc: Hugh Dickins <hughd at google dot com>, Linus Torvalds <torvalds at linux-foundation dot org>, Jan Kratochvil <jan dot kratochvil at redhat dot com>, Sergio Durigan Junior <sergiodj at redhat dot com>, GDB Patches <gdb-patches at sourceware dot org>, Pedro Alves <palves at redhat dot com>, "linux-kernel at vger dot kernel dot org" <linux-kernel at vger dot kernel dot org>, "linux-mm at kvack dot org" <linux-mm at kvack dot org>
- Date: Mon, 16 Mar 2015 20:44:46 +0100
- Subject: Re: install_special_mapping && vm_pgoff (Was: vvar, gup && coredump)
- Authentication-results: sourceware.org; auth=none
- References: <20150305154827 dot GA9441 at host1 dot jankratochvil dot net> <87zj7r5fpz dot fsf at redhat dot com> <20150305205744 dot GA13165 at host1 dot jankratochvil dot net> <20150311200052 dot GA22654 at redhat dot com> <20150312143438 dot GA4338 at redhat dot com> <CALCETrW5rmAHutzm_OwK2LTd_J0XByV3pvWGyW=AmC=v7rLfhQ at mail dot gmail dot com> <20150312165423 dot GA10073 at redhat dot com> <20150312174653 dot GA13086 at redhat dot com> <20150316190154 dot GA18472 at redhat dot com> <CALCETrU9pLE2x3+vei1xw6B8uu4B33DOEzP03ue9DeS8sJhYUg at mail dot gmail dot com>
On 03/16, Andy Lutomirski wrote:
>
> Ick, you're probably right. For what it's worth, the vdso *seems* to
> be okay (on 64-bit only, and only if you don't poke at it too hard) if
> you mremap it in one piece. CRIU does that.
I need to run away till tomorrow, but looking at this code even if "one piece"
case doesn't look right if it was cow'ed. I'll verify tomorrow.
Oleg.