From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752787Ab2IRRW5 (ORCPT ); Tue, 18 Sep 2012 13:22:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:2888 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751890Ab2IRRWy (ORCPT ); Tue, 18 Sep 2012 13:22:54 -0400 From: Jeff Moyer To: Mikulas Patocka Cc: Eric Dumazet , Jens Axboe , Andrea Arcangeli , Jan Kara , dm-devel@redhat.com, linux-kernel@vger.kernel.org, Alexander Viro , kosaki.motohiro@jp.fujitsu.com, linux-fsdevel@vger.kernel.org, lwoodman@redhat.com, "Alasdair G. Kergon" Subject: Re: [PATCH 0/4] Fix a crash when block device is read and block size is changed at the same time References: <20120628111541.GB17515@quack.suse.cz> <1343508252.2626.13184.camel@edumazet-glaptop> <1343556630.2626.13257.camel@edumazet-glaptop> <1343586962.2626.13266.camel@edumazet-glaptop> X-PGP-KeyID: 1F78E1B4 X-PGP-CertKey: F6FE 280D 8293 F72C 65FD 5A58 1FF8 A7CA 1F78 E1B4 X-PCLoadLetter: What the f**k does that mean? Date: Tue, 18 Sep 2012 13:22:40 -0400 In-Reply-To: (Mikulas Patocka's message of "Tue, 18 Sep 2012 13:04:58 -0400 (EDT)") Message-ID: User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mikulas Patocka writes: > Hi Jeff > > Thanks for testing. > > It would be interesting ... what happens if you take the patch 3, leave > "struct percpu_rw_semaphore bd_block_size_semaphore" in "struct > block_device", but remove any use of the semaphore from fs/block_dev.c? - > will the performance be like unpatched kernel or like patch 3? It could be > that the change in the alignment affects performance on your CPU too, just > differently than on my CPU. I'll give it a try and report back. > What is the CPU model that you used for testing? http://ark.intel.com/products/53570/Intel-Xeon-Processor-E7-2860-%2824M-Cache-2_26-GHz-6_40-GTs-Intel-QPI%29 Cheers, Jeff