From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3086CECE560 for ; Mon, 24 Sep 2018 18:00:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D461020C0A for ; Mon, 24 Sep 2018 18:00:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=amazonses.com header.i=@amazonses.com header.b="cJivzx86" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D461020C0A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731373AbeIYADr (ORCPT ); Mon, 24 Sep 2018 20:03:47 -0400 Received: from a9-112.smtp-out.amazonses.com ([54.240.9.112]:41036 "EHLO a9-112.smtp-out.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726218AbeIYADr (ORCPT ); Mon, 24 Sep 2018 20:03:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1537812026; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:MIME-Version:Content-Type:Feedback-ID; bh=e5KVVvZfxtrfTyNVel75bqUnHSQEN7kwfZLGeu81Bv8=; b=cJivzx86UjuuQo0pjU+xU00i/p6SSOr7J6IzV4yVkFLKzykG5vBylOONavxcbe6G X5Fe/EVvrzbK8nP6OOV/m8362SE9TJgJUbhHL+AmDKuJcpsjAGQRxp797GpMF5szelD hYLuWe5RX6101bwOaVbUTab+CFMgn9KganE/SosM= Date: Mon, 24 Sep 2018 18:00:25 +0000 From: Christopher Lameter X-X-Sender: cl@nuc-kabylake 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 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> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-SES-Outgoing: 2018.09.24-54.240.9.112 Feedback-ID: 1.us-east-1.fQZZZ0Xtj2+TD7V5apTT/NrT6QKuPgzCT/IC7XYgDKI=:AmazonSES Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.