Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2781383pxb; Tue, 23 Feb 2021 16:00:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJwkSgHBos/36coK8QqBe8e/BvGDWYFl5tiQ13kLsSlVfCfqo05Tp+pwlooqC3PJNm9kDKOS X-Received: by 2002:a50:9d0b:: with SMTP id v11mr31622997ede.308.1614124825398; Tue, 23 Feb 2021 16:00:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614124825; cv=none; d=google.com; s=arc-20160816; b=ly1T5TFrwnn1ZQgAiTHuclz2qX1F8z1MJ/fsKW4GFWSNJ/FvFh6d5EAixzqRbLU/pu 0LalQlhw5wqu12IhmFnR2xLXBhYtT6gOjythO2r7v3qFSVYXiId9x9CO9NNiHQ8qDCVF lO7XTXPLTP9NqKij3I3SyoqTTZCwv6sNtpGvmpgG+4lC6R5Mqse8RsRFtfdJZuO5KHCu c3eLmfdmxngs9KszkKiKTIvHDHM1uGS4EAtMbZtWRwbT5cSX/o+/L4UyfE2Rbu5wCE1a vCeFRjBKBenV+V2SiDF12WBW17riQ2UizeFVUlwqQuHwUFo8N/Yd002GUE6MmhM3V67v zcIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=ItwoLgeTMHJxPYxLFrwtYYx5WRm3VnfBzyd31TTjMnw=; b=PrpVLr3Q0gkB6A962fdhDbf4t/bF3VoNxt5E9EJRtB1WSkDj3zHv4YB47/voujzoi9 U/0Hyj/7I+phW2bcNm8immi/2ydt8olYNSn3tRNCwG+IQl/qrVzRN8IcuM7kDPH8pCW1 nCmKOjAZjrpceyQ36o6DxEoqa6rR/h80DIfX/qaQC79dSZn0v93FNgAcEHztSwTB+74t mV8wgxnRhIu6Bxl0lMBVfTYuSp8bqvuUQcno3w4uX1078yRvork6kf4pY3D9yKnPbAgH 7K57sOMkQz8oIKt9CzdCiNHotUMArdiV4FJawdKxX9Z2FKAroDyx2YnZ1klzcUWqDKPu /I0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ptB8Cxdd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j9si196333ejs.321.2021.02.23.15.59.41; Tue, 23 Feb 2021 16:00:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ptB8Cxdd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S234239AbhBWUW4 (ORCPT + 99 others); Tue, 23 Feb 2021 15:22:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:43450 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233355AbhBWUWw (ORCPT ); Tue, 23 Feb 2021 15:22:52 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6189764E4B; Tue, 23 Feb 2021 20:22:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614111731; bh=8laCGD7U3MYSyfadsQn88ZtEeX4T0liVLcz0GRwyYPQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ptB8CxddL8YW1QWoe5c+F2+mjCCPOjZ5mvl4BJ1Lg1ajOaPrSNldFAHh+oS+pNkZC 2+6bIMBBxI7b2lC7leRQ81c78RiYHbw9ZS6uzxNZ1a6f427EtC4bc6qit+8HP5v0iC woponyIisbOLVjymtcU7CoIidFKbLhM/f9xFmrwZhlp6r5sN2s7mEDKaXUBhl6Jkv2 Z4QTDhkf3deSqAf1n7UZ7WiQOY6BPmWNwCgiKHTbsauKJUyE0/R95tSyzHzXJFcZRA Jsk6NF8eDzk+w4qMN13Yrft7FUxdmZ5JXv0gI2CWaH4LJTaF2ShvzS3Ijg7TTPw+Ni zDiTyfjCnBWIw== Date: Tue, 23 Feb 2021 12:22:07 -0800 From: Jakub Kicinski To: Coiby Xu Cc: netdev@vger.kernel.org, kexec@lists.infradead.org, intel-wired-lan@lists.osuosl.org, Jesse Brandeburg , Tony Nguyen , "David S. Miller" , linux-kernel@vger.kernel.org (open list) Subject: Re: [RFC PATCH 4/4] i40e: don't open i40iw client for kdump Message-ID: <20210223122207.08835e0b@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20210222070701.16416-5-coxu@redhat.com> References: <20210222070701.16416-1-coxu@redhat.com> <20210222070701.16416-5-coxu@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 22 Feb 2021 15:07:01 +0800 Coiby Xu wrote: > i40iw consumes huge amounts of memory. For example, on a x86_64 machine, > i40iw consumed 1.5GB for Intel Corporation Ethernet Connection X722 for > for 1GbE while "craskernel=auto" only reserved 160M. With the module > parameter "resource_profile=2", we can reduce the memory usage of i40iw > to ~300M which is still too much for kdump. > > Disabling the client registration would spare us the client interface > operation open , i.e., i40iw_open for iwarp/uda device. Thus memory is > saved for kdump. > > Signed-off-by: Coiby Xu Is i40iw or whatever the client is not itself under a CONFIG which kdump() kernels could be reasonably expected to disable?