From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by kanga.kvack.org (Postfix) with ESMTP id 5D89D8E0001 for ; Mon, 24 Sep 2018 14:00:27 -0400 (EDT) Received: by mail-qt1-f199.google.com with SMTP id d1-v6so6599944qth.21 for ; Mon, 24 Sep 2018 11:00:27 -0700 (PDT) Received: from a9-112.smtp-out.amazonses.com (a9-112.smtp-out.amazonses.com. [54.240.9.112]) by mx.google.com with ESMTPS id k18-v6si231957qvd.273.2018.09.24.11.00.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Sep 2018 11:00:26 -0700 (PDT) Date: Mon, 24 Sep 2018 18:00:25 +0000 From: Christopher Lameter Subject: Re: block: DMA alignment of IO buffer allocated from slab In-Reply-To: <1f88f59a-2cac-e899-4c2e-402e919b1034@kernel.dk> Message-ID: <010001660cbd51ea-56e96208-564d-4f5d-a5fb-119a938762a9-000000@email.amazonses.com> References: <20180920063129.GB12913@lst.de> <87h8ij0zot.fsf@vitty.brq.redhat.com> <20180921130504.GA22551@lst.de> <010001660c54fb65-b9d3a770-6678-40d0-8088-4db20af32280-000000@email.amazonses.com> <1f88f59a-2cac-e899-4c2e-402e919b1034@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Jens Axboe Cc: Christoph Hellwig , Vitaly Kuznetsov , Ming Lei , linux-block , linux-mm , Linux FS Devel , "open list:XFS FILESYSTEM" , Dave Chinner , Linux Kernel Mailing List , Ming Lei On Mon, 24 Sep 2018, Jens Axboe wrote: > The situation is making me a little uncomfortable, though. If we export > such a setting, we really should be honoring it... Various subsystems create custom slab arrays with their particular alignment requirement for these allocations.