From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by kanga.kvack.org (Postfix) with ESMTP id 612946B0036 for ; Thu, 15 May 2014 18:15:56 -0400 (EDT) Received: by mail-ve0-f177.google.com with SMTP id db11so2091247veb.8 for ; Thu, 15 May 2014 15:15:56 -0700 (PDT) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id y16si1176257vcl.34.2014.05.15.15.15.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 May 2014 15:15:55 -0700 (PDT) Received: by mail-ve0-f172.google.com with SMTP id oz11so2113823veb.31 for ; Thu, 15 May 2014 15:15:52 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20140515215722.GU28328@moon> References: <20140514221140.GF28328@moon> <20140515084558.GI28328@moon> <20140515195320.GR28328@moon> <20140515201914.GS28328@moon> <20140515213124.GT28328@moon> <20140515215722.GU28328@moon> From: Andy Lutomirski Date: Thu, 15 May 2014 15:15:32 -0700 Message-ID: Subject: Re: mm: NULL ptr deref handling mmaping of special mappings Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Cyrill Gorcunov Cc: Andrew Morton , Sasha Levin , "linux-mm@kvack.org" , Dave Jones , LKML , Pavel Emelyanov On Thu, May 15, 2014 at 2:57 PM, Cyrill Gorcunov wrote: > 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). I'll try to write a patch in time for 3.15. --Andy -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org