Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4676429rwb; Tue, 20 Sep 2022 18:27:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7TZLjGz90JnzNssUgSfwA5TXhnUotjXeHmtl8YrZi6Rdggy0jjPgkJfuRrLwT6CsYz+4nD X-Received: by 2002:a17:90b:350a:b0:200:a7b4:64f7 with SMTP id ls10-20020a17090b350a00b00200a7b464f7mr6931170pjb.113.1663723653499; Tue, 20 Sep 2022 18:27:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663723653; cv=none; d=google.com; s=arc-20160816; b=TIM2AmtwRaNlaWebQhxpG0yFee5olNbQnnzTrjUesDI52RSf/U8A8s8AQSg2hEhCro zeaMyNc8/YNBV3kpo0EGygHaEWdwjeJEm5zOGJOu3TPumQqU/Acp2/kj2L250nOBE9l+ ur+SHXDoojNLnZplwXjI7vNhewNgJse5TemoyXRGcQfnndcgQ2Yw2OamjSbCw/iRWg4e kWz8YdAPCkx+wZdae74k68+WQCCpNHvIiWNDqQg8HLzIeH4RPFScq7fpwl0zFuzSOynL GLMcJYB+oK7AkWFRGqh5v+2K+ocjxM6tfuPHsmr0GtRqhsw7p2QSfh+sUZhu8RYdPqq+ KFvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=s1FOrqjygEbmu0BmCIrL35SMFO1fwNdkg4TnmgX4fl4=; b=zRxNEEinYCWh5vj2+28WO5KXLWSCI1KDGk7cwYyjxKXY/J4a7EjAUCR27ZafeXgXgm l4cLXyNfjJXtctBs7JESt86iTKj/e0qAvOX2wj5eCsSNWYTGkNk6eQ1IBJMrEC+mdwpN m1hrDWObUGom7tpbARkhyyV8ie/ar21GQVwrEq6D11Wx47iTwSzTMzOAfhJRbUHwIznh n8GNK3FmYIadtoY5o9iJVbF2j528R66Yk87U52fyaHOqUZtjNyjzCv4Gp5+0kEk8Cr/L xSJXF39tl3R2mIUL20HMz8rWAdR8+sN+GsjDaufjKof2BAQd6DTxrDBQ/y0VCnA6M/6R acHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=SAaPUtus; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jb20-20020a170903259400b00172eb499315si1231517plb.517.2022.09.20.18.27.20; Tue, 20 Sep 2022 18:27:33 -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=@google.com header.s=20210112 header.b=SAaPUtus; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230091AbiIUArm (ORCPT + 99 others); Tue, 20 Sep 2022 20:47:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229649AbiIUArk (ORCPT ); Tue, 20 Sep 2022 20:47:40 -0400 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E99279A4B for ; Tue, 20 Sep 2022 17:47:39 -0700 (PDT) Received: by mail-pg1-x52b.google.com with SMTP id 207so4363475pgc.7 for ; Tue, 20 Sep 2022 17:47:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=s1FOrqjygEbmu0BmCIrL35SMFO1fwNdkg4TnmgX4fl4=; b=SAaPUtusg1LzZcGU9ZnR3M1upMfkGwiaJwVJ3/I7XD5XjhDTbqslZXkzkzzqWgu+pJ OoAOSWZl9/nqOdD8RaF9bcjjp+uPcWoNJB0FIK3vUrt39xJRWtJzXo40TVno28hbH2RP 46Dk8AVbB3hyI/JEVK6yZ1T3FWPTvcaVzCjWVZJndFE5vbtaV70fWsbqIep2zvbupGW4 LQ1vPV8wOfGH4dXmgMRU1HxUeH1IIPhcpwGi78a/3DKtb1EaDxTIL+WXwd3wIHWDIHNc jm00G6AXJvb5j3STs+NJTW0k/oOSyzsPx3u2fyprlGgvZkTtoPo9BWlJphcU4FYKFMfp pNNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=s1FOrqjygEbmu0BmCIrL35SMFO1fwNdkg4TnmgX4fl4=; b=GUilcJ+NURjMwNMv0uUN/gelFkuO7Pl1gAIDnhX+Jwn/kQlYGqQrX81A4ZfVFwyxEn YS3wBSU3lq3W1agl2caWbS9ULvZbut5b96uDsl/N/mG1ArN3EuUiQ96y5BqxPjGjX9xV 2Shp0bp/Xp2XEFUjsvzl1EsSoB5zG1zLQiKejFs2R/PpBI0WX4nYmedScKUrjHrtd/2+ RxSbJtkYbNDSfLhL6TWy6GQ2CvV+GE7oX0UZBzz5YsJlZOUMPpeOZBzcT2Zvmx1DuSaD NJ/P5RjaFbox+RQtTMq1rlnKxY+wy9/hwCPI13tJwlxxzan0zCnmxBU3uwflUovlOLDp J9eA== X-Gm-Message-State: ACrzQf2iz1IPV3ePizoRTWe8LHwsOrnGBaF54Ir2Z4SqnY33Od5o0W2e w4ZndmKgwGDQduq9SeQnIS77Dg== X-Received: by 2002:a63:ee09:0:b0:439:d27b:3c77 with SMTP id e9-20020a63ee09000000b00439d27b3c77mr17326929pgi.579.1663721259022; Tue, 20 Sep 2022 17:47:39 -0700 (PDT) Received: from google.com ([2620:15c:2d:3:c6d4:8998:edf3:9779]) by smtp.gmail.com with ESMTPSA id 38-20020a631466000000b00419b66846fcsm538972pgu.91.2022.09.20.17.47.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Sep 2022 17:47:38 -0700 (PDT) Date: Tue, 20 Sep 2022 17:47:33 -0700 From: Isaac Manjarres To: Catalin Marinas Cc: Herbert Xu , Ard Biesheuvel , Will Deacon , Marc Zyngier , Arnd Bergmann , Greg Kroah-Hartman , Andrew Morton , Linus Torvalds , Linux Memory Management List , Linux ARM , Linux Kernel Mailing List , "David S. Miller" , Saravana Kannan , kernel-team@android.com Subject: Re: [PATCH 07/10] crypto: Use ARCH_DMA_MINALIGN instead of ARCH_KMALLOC_MINALIGN Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 On Mon, Jul 18, 2022 at 06:53:43PM +0100, Catalin Marinas wrote: > So do I but holidays get in the way ;). I plan to refresh my kmalloc > minalign series at the end of August. > > One significant change I have though is that now ARCH_KMALLOC_MINALIGN > now goes down all the way to 8 and using swiotlb bounce buffering if the > DMA mapping size is small. Hi Catalin, This sounds like a good idea for optimizing kmalloc's memory usage beyond what this series originally achieved. I'm sure a few other things have come up in the meantime, but I was curious to know if you had a chance to get back to this? Thanks, Isaac