From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qc0-f178.google.com (mail-qc0-f178.google.com [209.85.216.178]) by kanga.kvack.org (Postfix) with ESMTP id E4A0782966 for ; Fri, 11 Apr 2014 18:08:00 -0400 (EDT) Received: by mail-qc0-f178.google.com with SMTP id i8so6721464qcq.9 for ; Fri, 11 Apr 2014 15:08:00 -0700 (PDT) Received: from mail-qg0-f45.google.com (mail-qg0-f45.google.com [209.85.192.45]) by mx.google.com with ESMTPS id s32si2592424qgd.143.2014.04.11.15.08.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Apr 2014 15:08:00 -0700 (PDT) Received: by mail-qg0-f45.google.com with SMTP id j5so5958904qga.4 for ; Fri, 11 Apr 2014 15:07:59 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <53470E26.2030306@cybernetics.com> <5347451C.4060106@amacapital.net> <5347F188.10408@cybernetics.com> <53486067.6090506@mit.edu> From: Andy Lutomirski Date: Fri, 11 Apr 2014 15:07:38 -0700 Message-ID: Subject: Re: [PATCH 2/6] shm: add sealing API Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: David Herrmann Cc: Tony Battersby , linux-fsdevel , linux-mm , linux-kernel , "dri-devel@lists.freedesktop.org" On Fri, Apr 11, 2014 at 2:42 PM, David Herrmann wrote: > Hi > > On Fri, Apr 11, 2014 at 11:36 PM, Andy Lutomirski wrote: >> A quick grep of the kernel tree finds exactly zero code paths >> incrementing i_mmap_writable outside of mmap and fork. >> >> Or do you mean a different kind of write ref? What am I missing here? > > Sorry, I meant i_writecount. I bet this is missing from lots of places. For example, I can't find any write_access stuff in the rdma code. I suspect that the VM_DENYWRITE code is just generally racy. --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