Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5504311ybl; Tue, 10 Dec 2019 07:08:57 -0800 (PST) X-Google-Smtp-Source: APXvYqzY0JzhvDyWFTl8VbaPMf9Zve1kC4T3fe11KeVsC1g/j62R5QJUy8vg3zGnWPHymDR7Ne/y X-Received: by 2002:aca:c389:: with SMTP id t131mr4108384oif.102.1575990536858; Tue, 10 Dec 2019 07:08:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575990536; cv=none; d=google.com; s=arc-20160816; b=N0yXOsS8S6s0r12ue9FQgHgEJdggl7aEs0qqKkOCHzrDtr6n4RIURnf4C56T2fkEqs cr61aJV8Lk7XtYiPmLEglYTCrTjJGBNYHl+QWD8Gz6YKlzP2k+w4L0hxiqmjkcktXJB1 wgf/MLCZsfPg3sF4YdFvtRi33n1ViY/rAlI9b7abCjVxqLP6GDYckhJzuOqF/fvKq89G Agxkshc7Wjde9INYsgFdMJr5cFGcFwYQYgC337PtzCoQZLGrmv4plla9uQm78IFe9nMF msUv1PnwQrGm1JOfPQcO4YwfvAMUkTpSiM7cBPWTy/XNlGAvV0ZHsT4rcPwaXYeoXXMP JpAg== 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; bh=gK9WhM7XsDaY+lb7/ANGcV/P86c0uO6eQPbXi7xswFE=; b=QUMFxDSuZcZjLfh7GU+avG5AzRFeYUJND5pbBpfWVf5e0UuiqtHZ9Ka5C/O5ETaW1e F9/2hl0bwPooI84o8uom/mHpa03OdC4iq506cMw6+g7f4SZuIcVz/ldqMxstMTw+wAt2 KUPNpfGC9JhScYrCWoVA6cnseq6KmoltewKwYv7LRaZLZpvPOvRmoxv0eQp8bvhQvU3j QAehtQ2ylRWCFZNWVIWYAtcv96jguuXDCjRewxVk4LhwJcJT0NZbeIv7LOt0HJqOs1Vw mNij+mj8vJlMNTiBp7d4BEdv3yVJ6k2YCAmM1aHE1tAYy/xRN0OxpH2knUX6IHdevuZV CHLQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 5si1957206ott.186.2019.12.10.07.08.40; Tue, 10 Dec 2019 07:08:56 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727514AbfLJPHm (ORCPT + 99 others); Tue, 10 Dec 2019 10:07:42 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:40009 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727272AbfLJPHm (ORCPT ); Tue, 10 Dec 2019 10:07:42 -0500 Received: by mail-ot1-f68.google.com with SMTP id i15so15772880oto.7; Tue, 10 Dec 2019 07:07:41 -0800 (PST) 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=gK9WhM7XsDaY+lb7/ANGcV/P86c0uO6eQPbXi7xswFE=; b=eIH4lr9LaBZSeOFhwlWBesw20u7HhJynzzXSFuID/eOnC6umFrgnqgfC26BH4hkwca HWxdcjAC/5PxldYp33FLiAMwANVdV8qrYnAgFWiN/M2sULha8b3XhJPL/pj2C/bndSbZ zI1p9AFepvSShSph8KDRHCDnbQNA8aNi9I7NhfKXs1RaN3w62DTAxQBuc1eiOizIVKA2 7wE5qFTCy1LFyzzDk04MWtUv5Xn7IJEweh4ZOKAcGUCP8GyZ0/JYqn9Q7Q05xLl1G/M1 cTCs/hWSyTde/n5Pk41XIKLrnmCCw5+5BWkkmVeir/03GbfQTHtIJP2GGFAJt/+NF6N0 3OHg== X-Gm-Message-State: APjAAAWwIx+eFRKUOyN5B9RlGPFOOPB8iCMCjDgn8g53ZaIpITc82rWD ARRU5segUdovbFVlI/XoShCL0XbGyJNGr79Rz7M= X-Received: by 2002:a9d:7984:: with SMTP id h4mr21315284otm.297.1575990461076; Tue, 10 Dec 2019 07:07:41 -0800 (PST) MIME-Version: 1.0 References: <20191030184844.84219-1-edumazet@google.com> In-Reply-To: From: Geert Uytterhoeven Date: Tue, 10 Dec 2019 16:07:30 +0100 Message-ID: Subject: Re: [PATCH] dma-debug: increase HASH_SIZE To: Eric Dumazet 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 Hi Eric, On Tue, Dec 10, 2019 at 4:04 PM Eric Dumazet wrote: > 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... > > Maybe we can make the hash size arch-dependent, or better dynamically > allocate this memory ? Dynamically allocating would be the better solution, IMHO. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds