Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1979573ybe; Tue, 3 Sep 2019 06:23:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqwWyYEhVioNPkIQ5S2F31pHuouS41a/GrnGIQiDZ2grGstO5jE7FYZeyO1s59QaGe5tAokp X-Received: by 2002:a65:4505:: with SMTP id n5mr16506962pgq.301.1567517037456; Tue, 03 Sep 2019 06:23:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567517037; cv=none; d=google.com; s=arc-20160816; b=gxa26nUrnnBEB126YUPbcpkZQkDJvymcC6J0XWDlvOc7O7hdLiWDCLocxDAnlNj2U1 I15BlTkXxd/PU6t0nlBAngbh9Xqa9Jz7pq7rqf+EvhGycKtFexb93kX7o2L4ZzLh9Vyo dThaRUI/mzb2sKkmk+D3n5m+4GHlAkyzY1hFQfnaAESngDvV3YgaZg7tW5Ofw5GEMYxl bwB8yyLSvciAbg6uiXXwvKIZjYuLTBjjB5sOf8BbtLVcBzVrAqw1Nyi/5bq2Eh8Rkuzf +UB1tHbi8PsfxULdwVGB8DF1FNQil2PuGPEPSf7k5RJNNp9YXEDpKP2nvHquFRZSi4Rv 2+uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Z7g440LBR5JKSHR7QdGdQiUblOSd/MmXPPevjY91xPM=; b=SFcggb/xjebZXtcWV0MME3+7euIMHoAWJ/XbZS/GpQMM4xEbITKM459DbVi1kzXqfd TVjl34r+f+92q8Lk0wUzRxoNIE4WzwPOGfC9UeiWBJDrpdxA5QciIqk5DUtJfaMbFbUB FcURbaLm5H6D4Gx5Ic6hHwC5nK0ZWVGWxijePjzhnrNjJGAdIAuhm7GYPF0EJ9b3HEZT aPd0RjSX/5LXVeJS3k7gHA5w3WAfcAPgNjzLE4Qo5ZzPZPBrF3GOWe9jX3VW95Jw2xeD mMmry5+xjGTSHUjRvJgcrwh4auogRJfiTOUjxSz14lGxaVOIUD7lMskInonMlZj2klDc Xfvw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q128si17723056pfb.192.2019.09.03.06.23.40; Tue, 03 Sep 2019 06:23:57 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729247AbfICNWi (ORCPT + 99 others); Tue, 3 Sep 2019 09:22:38 -0400 Received: from mx2.suse.de ([195.135.220.15]:60424 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728538AbfICNWi (ORCPT ); Tue, 3 Sep 2019 09:22:38 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 49677B11B; Tue, 3 Sep 2019 13:22:37 +0000 (UTC) Date: Tue, 3 Sep 2019 15:22:31 +0200 From: Michal Hocko To: Eric Dumazet Cc: Qian Cai , davem@davemloft.net, netdev@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net/skbuff: silence warnings under memory pressure Message-ID: <20190903132231.GC18939@dhcp22.suse.cz> References: <1567177025-11016-1-git-send-email-cai@lca.pw> <6109dab4-4061-8fee-96ac-320adf94e130@gmail.com> <1567178728.5576.32.camel@lca.pw> <229ebc3b-1c7e-474f-36f9-0fa603b889fb@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <229ebc3b-1c7e-474f-36f9-0fa603b889fb@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 30-08-19 18:15:22, Eric Dumazet wrote: > If there is a risk of flooding the syslog, we should fix this generically > in mm layer, not adding hundred of __GFP_NOWARN all over the places. We do already ratelimit in warn_alloc. If it isn't sufficient then we can think of a different parameters. Or maybe it is the ratelimiting which doesn't work here. Hard to tell and something to explore. -- Michal Hocko SUSE Labs