From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756189AbbCPTqt (ORCPT ); Mon, 16 Mar 2015 15:46:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39320 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754651AbbCPTqq (ORCPT ); Mon, 16 Mar 2015 15:46:46 -0400 Date: Mon, 16 Mar 2015 20:44:46 +0100 From: Oleg Nesterov To: Andy Lutomirski Cc: Hugh Dickins , Linus Torvalds , Jan Kratochvil , Sergio Durigan Junior , GDB Patches , Pedro Alves , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" Subject: Re: install_special_mapping && vm_pgoff (Was: vvar, gup && coredump) Message-ID: <20150316194446.GA21791@redhat.com> References: <20150305154827.GA9441@host1.jankratochvil.net> <87zj7r5fpz.fsf@redhat.com> <20150305205744.GA13165@host1.jankratochvil.net> <20150311200052.GA22654@redhat.com> <20150312143438.GA4338@redhat.com> <20150312165423.GA10073@redhat.com> <20150312174653.GA13086@redhat.com> <20150316190154.GA18472@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.