Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp4072304rdb; Wed, 30 Aug 2023 14:55:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGmZi7PgOC9PrXZtnTPN/2tI8jL1h1Ndq7UOiN+250ZS07owoWvS0xfHlKEmkKFDtxT8dJY X-Received: by 2002:a17:907:78c5:b0:9a2:1ce5:1243 with SMTP id kv5-20020a17090778c500b009a21ce51243mr2474355ejc.60.1693432557006; Wed, 30 Aug 2023 14:55:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693432556; cv=none; d=google.com; s=arc-20160816; b=iYnTJsaAT4q+HQxiiECuJ+ApPFO+h+3JoF2BEdy52nQ0T3LsCk9NyGo0t8JOw6Ixbe 6CasN98b08zqNNbNqWm70fmILx7FEb9ereC4Eo+JvHKLPxY0lAMIOi5rFGuI7GTBQMEO DyaEWEckkbrND9IicsAYl+oCTBWYiJWg7ndnMtMO6rW4mn4B6b5LrAhF2k32I2S5q47q T1rY2tI9wFlczYLcr2r0TqO6bYKaOq3yAu6tQiw8emHN7kQ0V5k9TWewQIuAWUOO57iN +TI1pMSgWv3cdNlg8jOPZsU3tg/MyEQjgcG3OU6YrUqDp11h6YdDCwvB1DKdFdz+4CgI 9gBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=OKxD3G8vwC+3Y0sLS1jM8+2qYvF4FNgMZwlzoN4/5mM=; fh=ACG2vxnPcYHq6opgZyV8W2yX3bihAHOdWKNBu4XiL0k=; b=mjJlHmfmUbTFVQzuxerWe5FwcDRbG+J91tjWQi9qO43A6xjvh8+GR5jIawiVR9BMSs yxdMtcgYgafwzNV0p9yFXH5+YdSjjEzMj+H9cXNaZjL8QCpYCOlBa5NjmTk9M755/aWz RkbZTZDtUzg/07HfgUhgOvzqvLzV4xaG4Iujrt+6Und4wv6hf2oa5aW11JcwsNA6Kj99 I516D1kvOAyHO8IEyutEVIWWoz3NsusSWDT59348XcQ6XsEAsFB71m9mW+n2LfXQh8er dAnROTSqWKd9rN6rh02OAA3eoiVzzoLBxVvU49TnuPPTNAd4g2g8zYxafeH3qIOYEOAu IZNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oildnxhO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rn19-20020a170906d93300b009932528281asi28893ejb.579.2023.08.30.14.55.27; Wed, 30 Aug 2023 14:55:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oildnxhO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244018AbjH3SuZ (ORCPT + 99 others); Wed, 30 Aug 2023 14:50:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244553AbjH3NUi (ORCPT ); Wed, 30 Aug 2023 09:20:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DEB91B2 for ; Wed, 30 Aug 2023 06:20:36 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 51388617AA for ; Wed, 30 Aug 2023 13:20:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 9C46CC433CD; Wed, 30 Aug 2023 13:20:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693401634; bh=jLz1YYGHzcPF4bqPX3YGwB9P8fGgq5w35e2LcaUAALw=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=oildnxhOx+pk99S2flDq2SUTE6640rBDJ5ktVb2QUKCISWMt1hZiAV4RKO7t8IIs0 INzLOApUdbHFGpRyz0R1EguyJo3tawL3IpTIcrj2i3Q1UHwmLON3o50pRxbmevR6VX CRXaXBAPOQmBX61GqDIj3Bevv625A67TG8rBCfEEGIK/9G/CvouCKJEZrxQqU8InVQ s/q9c4XZqm/OfkdAVmL2HeHavxv72M2vGHDa1ybFwiRGX6IxaAB0RZ4pzwB7DX9qRn xDLtmQs/65xH7UKuStqSt+chUHcNVWLMpkjyZ6G6Rg3nKH0kT3MqqHV5SNBF+05qu3 gTqf8tEY9gD0g== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 7C8CEE4509F; Wed, 30 Aug 2023 13:20:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v3 0/2] riscv: Reduce ARCH_KMALLOC_MINALIGN to 8 From: patchwork-bot+linux-riscv@kernel.org Message-Id: <169340163450.19859.9050440300788859353.git-patchwork-notify@kernel.org> Date: Wed, 30 Aug 2023 13:20:34 +0000 References: <20230718152214.2907-1-jszhang@kernel.org> In-Reply-To: <20230718152214.2907-1-jszhang@kernel.org> To: Jisheng Zhang Cc: linux-riscv@lists.infradead.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This series was applied to riscv/linux.git (for-next) by Palmer Dabbelt : On Tue, 18 Jul 2023 23:22:12 +0800 you wrote: > Currently, riscv defines ARCH_DMA_MINALIGN as L1_CACHE_BYTES, I.E > 64Bytes, if CONFIG_RISCV_DMA_NONCOHERENT=y. To support unified kernel > Image, usually we have to enable CONFIG_RISCV_DMA_NONCOHERENT, thus > it brings some bad effects to coherent platforms: > > Firstly, it wastes memory, kmalloc-96, kmalloc-32, kmalloc-16 and > kmalloc-8 slab caches don't exist any more, they are replaced with > either kmalloc-128 or kmalloc-64. > > [...] Here is the summary with links: - [v3,1/2] riscv: allow kmalloc() caches aligned to the smallest value https://git.kernel.org/riscv/c/2926715163cf - [v3,2/2] riscv: enable DMA_BOUNCE_UNALIGNED_KMALLOC for !dma_coherent https://git.kernel.org/riscv/c/f51f7a0fc2f4 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html