From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751984AbbCLS22 (ORCPT ); Thu, 12 Mar 2015 14:28:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58560 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751097AbbCLS21 (ORCPT ); Thu, 12 Mar 2015 14:28:27 -0400 Date: Thu, 12 Mar 2015 19:08:33 +0100 From: Oleg Nesterov To: Andy Lutomirski Cc: Jan Kratochvil , Sergio Durigan Junior , GDB Patches , Pedro Alves , "linux-kernel@vger.kernel.org" Subject: Re: vvar, gup && coredump Message-ID: <20150312180833.GC13711@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> <20150312173901.GA12225@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/12, Andy Lutomirski wrote: > > On Thu, Mar 12, 2015 at 10:39 AM, Oleg Nesterov wrote: > > Well. Speaking of vdso. I understand that unlikely we can do this, but > > for uprobes it would be nice to have a anon-inode file behind this mapping, > > so that vma_interval_tree_foreach() could work, etc. OK, this is completely > > off-topic, please forget. > > Couldn't you do that directly in the uprobes code? That is, create an > anon_inode file and just map it the old-fashioned way? This won't help. Uprobes wants this file mmaped by all applications, so that build_map_info() can find mm's, vma's, etc to install the system-wide breakpoint. But again, this is off-topic and unlikely possible. Oleg.