From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756322AbaEOV52 (ORCPT ); Thu, 15 May 2014 17:57:28 -0400 Received: from mail-lb0-f182.google.com ([209.85.217.182]:49024 "EHLO mail-lb0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755913AbaEOV5Z (ORCPT ); Thu, 15 May 2014 17:57:25 -0400 Date: Fri, 16 May 2014 01:57:22 +0400 From: Cyrill Gorcunov To: Andy Lutomirski Cc: Andrew Morton , Sasha Levin , "linux-mm@kvack.org" , Dave Jones , LKML , Pavel Emelyanov Subject: Re: mm: NULL ptr deref handling mmaping of special mappings Message-ID: <20140515215722.GU28328@moon> References: <20140514221140.GF28328@moon> <20140515084558.GI28328@moon> <20140515195320.GR28328@moon> <20140515201914.GS28328@moon> <20140515213124.GT28328@moon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 15, 2014 at 02:42:48PM -0700, Andy Lutomirski wrote: > > > > Looking forward the question appear -- will VDSO_PREV_PAGES and rest of variables > > be kind of immutable constants? If yes, we could calculate where the additional > > vma lives without requiring any kind of [vdso] mark in proc/pid/maps output. > > Please don't! > > These might, in principle, even vary between tasks on the same system. > Certainly the relative positions of the vmas will be different > between 3.15 and 3.16, since we need almost my entire cleanup series > to reliably put them into their 3.16 location. And I intend to change > the number of pages in 3.16 or 3.17. There are other ways how to find where additional pages are laying but it would be great if there a straightforward interface for that (ie some mark in /proc/pid/maps output).