From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: spinlock contention of files->file_lock Date: Tue, 1 Oct 2013 23:04:53 +0100 Message-ID: <20131001220453.GY13318@ZenIV.linux.org.uk> References: <1380589503.5326.13.camel@edumazet-glaptop.roam.corp.google.com> <1380663718.19002.49.camel@edumazet-glaptop.roam.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Linus Torvalds , Ingo Molnar , Peter Zijlstra , Waiman Long , Benjamin Herrenschmidt , "Chandramouleeswaran, Aswin" , Linux Kernel Mailing List , linux-fsdevel To: Eric Dumazet Return-path: Received: from zeniv.linux.org.uk ([195.92.253.2]:36436 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751575Ab3JAWFE (ORCPT ); Tue, 1 Oct 2013 18:05:04 -0400 Content-Disposition: inline In-Reply-To: <1380663718.19002.49.camel@edumazet-glaptop.roam.corp.google.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, Oct 01, 2013 at 02:41:58PM -0700, Eric Dumazet wrote: > Maybe I am missing something obvious ? Yes. do_execve_common() starts with unshare_files(); there can be no other thread capable of modifying that descriptor table.