From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933788Ab2JZPWZ (ORCPT ); Fri, 26 Oct 2012 11:22:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48280 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933630Ab2JZPWY (ORCPT ); Fri, 26 Oct 2012 11:22:24 -0400 Date: Fri, 26 Oct 2012 17:23:12 +0200 From: Oleg Nesterov To: Mikulas Patocka , Al Viro Cc: Dave Chinner , Peter Zijlstra , "Paul E. McKenney" , Linus Torvalds , Ingo Molnar , Srikar Dronamraju , Ananth N Mavinakayanahalli , Anton Arapov , linux-kernel@vger.kernel.org, Thomas Gleixner Subject: mark_files_ro && sb_end_write Message-ID: <20121026152312.GA13725@redhat.com> References: <1350650286.30157.28.camel@twins> <1350668451.2768.60.camel@twins> <20121024030845.GT4291@dastard> <20121025234048.GH29378@dastard> <20121026120605.GA23545@redhat.com> <20121026141238.GA28443@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121026141238.GA28443@redhat.com> 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 10/26, Oleg Nesterov wrote: > > As for the changing fs/namespace.c to use percpu_rwsem, I am not sure > it is that simple and even worthwhile but I won't argue, I do not > pretend I understand this code. BTW, speaking about these counters... Is mark_files_ro()->mnt_drop_write_file() properly balanced? __mnt_drop_write() looks fine, but sb_end_write? Oleg.