Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5500861ybl; Tue, 10 Dec 2019 07:06:12 -0800 (PST) X-Google-Smtp-Source: APXvYqx5QuVF60jbYs3fV3s3nY08qRxCx1El1el1TzZkpBjrsz3UCvFrqVlS847GcohoVZgMPaKn X-Received: by 2002:aca:fc02:: with SMTP id a2mr4099086oii.38.1575990372076; Tue, 10 Dec 2019 07:06:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575990372; cv=none; d=google.com; s=arc-20160816; b=tt5leR0Cv56Jv+Nbupd1sfqZjG0h8w5hlTQYwDjCfvPgOsnWYyQxR8t87cFK8Hf3aa KhfMx/N8mqi/9BXasHbgQr5XhcJKH1V6e7eP0MS+SLtivez3mtXlZ5PVKNXWvtEaUkcd kbcbxAHjPojxS9QWaK/zOqoE+wBpARrwfLNgOuYnxGOGUO7UZ/GWNZDSRbpJ9viXZYCV iTUDhQ6zrqfbte8/Mh6lUl1KgKg2QtIgxY4yAEaS1rsvGrBGxAb8wCy5WiBtxuiDQ+DA DRj27ONcqgWSyJHAP2woWm/u9KS1OAt037HwY8u4EgVCTBEWNrAQ3nALKN+0ifl6ULpx UFqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=l4p02kg6PQgUAxsLiq+h/2nhVm9uCC+HtafrymcdyAs=; b=oZQPPtLepR2/66L/475CeceYX4VHdoduYPmmHMiyVegi8IVo+qvhp65MG9p8taq542 MTxWumFxU9KlWD+avaydYtY2bHs4VZPFMjevbtjmOXH/NkVMTSR3oKYbQz7VssKGj0Fx tXJwf+LvG2snD9uRpnJdV3A5i5CkjH9wtxpyFooTWi8DD/Fc7OaeTwRveNO29CUQdYOh VNfzau0aacZ/aG4hv324EoJ5rmVDXb15h3ffkC/LK/NtbAYek/wvt7IKV8NO1knOJNoz f2XXYIlB57fKfzo1esMMumzdMWledk6nnUCwc8V383i93A0BQhnMTifCRRkwsM20zKD9 HNmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=oxEoiB3f; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m19si1877342otk.84.2019.12.10.07.05.59; Tue, 10 Dec 2019 07:06:12 -0800 (PST) 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=@google.com header.s=20161025 header.b=oxEoiB3f; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727541AbfLJPE5 (ORCPT + 99 others); Tue, 10 Dec 2019 10:04:57 -0500 Received: from mail-yw1-f67.google.com ([209.85.161.67]:35333 "EHLO mail-yw1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727451AbfLJPE4 (ORCPT ); Tue, 10 Dec 2019 10:04:56 -0500 Received: by mail-yw1-f67.google.com with SMTP id i190so7396690ywc.2 for ; Tue, 10 Dec 2019 07:04:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=l4p02kg6PQgUAxsLiq+h/2nhVm9uCC+HtafrymcdyAs=; b=oxEoiB3fALraSZfRXamPHXCm06Mz7IquqV6ft8yeKIH7ICYr6hxbK6Mc1Sm7pAUFyP 4qkZHEWlGrGBA95NfxuqOwT8s1K3/hHF7obL11LCSPC9iU1V90oSmEplAekKuVoXKa+L FhnH9yIcf4LJkP0x+GFfrkshDXPFOD44hfvQsBh9KZ8t+wh7ToYfMR2Jsvad5l1IueAr QeoPuoEK3Hu7d5xbwt//MJTHcKL0SY9RR+QiAOQ8jnGQHlYe8W2xTYmoGJps0uDFbzDA OVZ2Xbk3NKuJ3jl5AN8q2ARDmYxcifdglpRpoQdoy2o3ZsbEc4bp13C/9n06uDzf6Rq5 qqkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=l4p02kg6PQgUAxsLiq+h/2nhVm9uCC+HtafrymcdyAs=; b=Z/gXkU77RStzxlRhEUb1/4CWwy27bOS1K5imdjNmO09vbpmWp9FKfUUOHq9JMllUu4 rmiC+3aee7MrVpLyOEb13/GLLFcU9zBowkVPbcmDvDQRJQ9cNAZJtj2nbbFCnxFtLmLC L8A+P116bwx3SITX8DkHRKdTmFWXTC4R+B70gwQEPGmilCWu8dxXldVBgV0xf0NSwHqB Kw+WWOf1ShLBv66po4P+fSqLfgHVNQu9J/JwNeTuNwAiLTgKMGW03oaRBlg2PqkKQEh0 My6jkeNUBEqpLgTpjC3xgfqcpdcyR3XVQBqkrI3SNZmtnp9XkzZJvAFNIOEfsM+CBMSs 1hmg== X-Gm-Message-State: APjAAAVRRVauTegIpY/EdWR1U7Mg0CByRRHL/Do3uQOtGtnXikOxBiRD L2T16kv5AHOhFmM5WpgJ+YndAGUEfmhieeVI3nWAMQ== X-Received: by 2002:a81:114f:: with SMTP id 76mr24360176ywr.174.1575990295223; Tue, 10 Dec 2019 07:04:55 -0800 (PST) MIME-Version: 1.0 References: <20191030184844.84219-1-edumazet@google.com> In-Reply-To: From: Eric Dumazet Date: Tue, 10 Dec 2019 07:04:43 -0800 Message-ID: Subject: Re: [PATCH] dma-debug: increase HASH_SIZE To: Geert Uytterhoeven Cc: Christoph Hellwig , linux-kernel , Eric Dumazet , Marek Szyprowski , Linux-Renesas Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 10, 2019 at 6:55 AM Geert Uytterhoeven wrote: > JFTR, this increases dma_entry_hash size by 327680 bytes, and pushes > a few more boards beyond their bootloader-imposed kernel size limits. > > Disabling CONFIG_DMA_API_DEBUG fixes that. > Of course the real fix is to fix the bootloaders... > Hi Geert Maybe we can make the hash size arch-dependent, or better dynamically allocate this memory ?