Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp892590imm; Mon, 21 May 2018 16:39:35 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq8xG5CRmvmrJYxowIlxSH8klz4m4N93iHuqO9mTpEuDh/juiwqXJpoGRe7Bw617K2fokAV X-Received: by 2002:a65:6151:: with SMTP id o17-v6mr17566214pgv.120.1526945975346; Mon, 21 May 2018 16:39:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526945975; cv=none; d=google.com; s=arc-20160816; b=ZbGmoJIxMUtmEnJpIo32tyofeY9QWzYn6DBMFP0N1/weCNLSY/+rYh/wh1VFi168rD lbBOOKLODOUTYRBRBPNtzvetb7grP9jKeJSkhiYIj+B6mG13zMN5LSFxwYbklzUeFeWJ MiJ6SNPdaPWthMYb9XDCoUT0+u2FKtadHa9BdwXBX8I7bogsTJrPHDHh+3Q9RNFpRczh KHI6vAKQ3eSm7YC0Hp3HQZWYC19R971+ikkv9lYZOHUiJbqJkwJJJtU9zSKeprLR+i7w H5Dl0iyYgo5E0ZLasaDgbkrW7OijM+iywBBOd8eFzo0Ri25bbuaNN8ITaKdya0rqZ9N8 7LKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=eL2M7LBkllolVzpz2lCBZY7npwTOTwLatCopO5OXCRA=; b=kQd68fnvKzpnbTBZe82BYy0EzMoIw2HyAJSVzhH+7lM6KjcdKZyCp9PfoaEPwIrtXX 1+kqVdYIRVjMY0DepBHe3B9etHid9Sjug6Vq3qIW5u/9K7Ncusqeue7ylHMsbfd7V179 zAAZWcCDk3wVwQow+yMQhDyCsRZTLEbUHYbi7C8LdZ7QuNeGSa0tHOoOovD25YJF/LiL LeNq2Iq3FM5MzO3VQA1ke+LG4UeHS2rJ821VnLCDfnwwfDmSXixX0e6Wf7yper6SaioL Rbw7aJSWiuWjJLku46Z4tXi3r/77hmbk6DxmFwjsiMYUpYwzlOZ6EQfpsJULYT+bi3ZK la0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FEOWoSpN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m11-v6si11876414pgt.565.2018.05.21.16.39.20; Mon, 21 May 2018 16:39:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FEOWoSpN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751574AbeEUXjF (ORCPT + 99 others); Mon, 21 May 2018 19:39:05 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:37210 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751088AbeEUXjA (ORCPT ); Mon, 21 May 2018 19:39:00 -0400 Received: by mail-qt0-f195.google.com with SMTP id q13-v6so21170890qtp.4; Mon, 21 May 2018 16:39:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=eL2M7LBkllolVzpz2lCBZY7npwTOTwLatCopO5OXCRA=; b=FEOWoSpNwGROK2HmKTaziUejWNbiHFfI/P9CZid4ZgNncfVUuGPkhkszqrXPvGZGI8 UT8NHA00WbxXLJKN8QHM3kO678O7g80qudjxwup0jOtgDdURKHFiSc9Ka4xCz1/mE904 Dgad4iM2lG4Ou0Emh2fpP6OkGZ4/vG3mKbuzilcxEQDJbwmt9WDMnF5nV3u9DM1V2OLd 1QZ/47HO3i6xScZa/0+6kZBxzyS6oLkifmhflNkd2XTWBe9o9asZwtdSBUkGud7tiXsD SdIWII/Cx0sKibVkGU1PZHe9KnAitiggrrenERxnTOLE0j82Fo43UIPysvVReP4o/bUT sV7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=eL2M7LBkllolVzpz2lCBZY7npwTOTwLatCopO5OXCRA=; b=kzaZl5E82Ue9cBzjerqJ3PRWV8EIEIGCWlnhKnf13hy/m3sNmQlpCOfNMlfnDocJqV xgBORYmLeqaJur0UdTlwWQHGJEIA9LZgHuMNA+Y67L6qeAFe95Gao3mjP6AsnWj6uxV1 IQtAi16gKshj3TrnJ/4GZZh4XteRvMJy4B6kKSlxY8zuSuZi3SoPbIB4tGmK6Xxv7ixy AAbYpeDqB4oYnQTOrspdqRvfeZboGFtb8YYIgL9I5L0q/y3lC7PqSIrrZB9ke8CGu+OR rxK6D8sMFJ0knB8AmuZOEswERQOh/s3zdMuCGisNQHDR8VFn1/wEvM36xkCnl+Yx8/xF dxgg== X-Gm-Message-State: ALKqPwc1NSGrTT5KtzGtMVjXkUcivzOw53VvG43NGahJTGy22NoGXlcx /qVyNHrJIh5Njg6Bd8N/nQ== X-Received: by 2002:a0c:96cf:: with SMTP id b15-v6mr19887237qvd.124.1526945939713; Mon, 21 May 2018 16:38:59 -0700 (PDT) Received: from kmo-pixel (c-71-234-172-214.hsd1.vt.comcast.net. [71.234.172.214]) by smtp.gmail.com with ESMTPSA id h128-v6sm10430867qkc.80.2018.05.21.16.38.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 21 May 2018 16:38:58 -0700 (PDT) Date: Mon, 21 May 2018 19:38:55 -0400 From: Kent Overstreet To: Mike Snitzer Cc: Jens Axboe , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, hch@infradead.org, colyli@suse.de, darrick.wong@oracle.com, clm@fb.com, bacik@fb.com, linux-xfs@vger.kernel.org, drbd-dev@lists.linbit.com, linux-btrfs@vger.kernel.org, linux-raid@vger.kernel.org, neilb@suse.com Subject: Re: [PATCH 00/13] convert block layer to bioset_init()/mempool_init() Message-ID: <20180521233855.GI11495@kmo-pixel> References: <2bbeeb1a-8b99-b06a-eb9b-eb8523c16460@kernel.dk> <20180521144703.GA19303@redhat.com> <4b343aef-e11c-73ba-1d88-7e73ca838cad@kernel.dk> <20180521150439.GA19379@redhat.com> <61e30dcf-a01c-f47d-087a-12930caf9aef@kernel.dk> <20180521151817.GA19454@redhat.com> <20180521160907.GA19553@redhat.com> <20180521173724.GG11495@kmo-pixel> <20180521182427.GA20013@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180521182427.GA20013@redhat.com> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 21, 2018 at 02:24:32PM -0400, Mike Snitzer wrote: > Every single data structure change in this series should be reviewed for > unforeseen alignment consequences. Jens seemed to say that is > worthwhile. Not sure if he'll do it or we divide it up. If we divide > it up a temp topic branch should be published for others to inspect. > > Could be alignment hasn't been a historic concern for a bunch of the > data structures changed in this series.. if so then all we can do is fix > up any obvious potential for false sharing. Honestly, I almost never worry about alignment... the very few times I do care, I use __cacheline_aligned_in_smp. If alignment is a concern in any of those structs, there really ought to be a comment indicating it. I very much doubt anything I touched was performance sensitive enough for it to be an issue, though. And if there is a performance impact, it should be oughtweighed by the reduced pointer chasing. If you disagree, I don't mind leaving the device mapper patch out, it really makes no difference to me. I could glance over for alignment issues but I feel like my analysis would not be terribly valuable to you considering I've already said my position on alignment is "meh, don't care" :)