From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A4B0C43215 for ; Thu, 21 Nov 2019 09:15:25 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 0284C20748 for ; Thu, 21 Nov 2019 09:15:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0284C20748 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 6477D6B02FC; Thu, 21 Nov 2019 04:15:24 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 5F8F06B02FF; Thu, 21 Nov 2019 04:15:24 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 534D76B0301; Thu, 21 Nov 2019 04:15:24 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0227.hostedemail.com [216.40.44.227]) by kanga.kvack.org (Postfix) with ESMTP id 3AE256B02FC for ; Thu, 21 Nov 2019 04:15:24 -0500 (EST) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with SMTP id CDC3A181AEF1D for ; Thu, 21 Nov 2019 09:15:23 +0000 (UTC) X-FDA: 76179726126.23.shade43_69402ab07d722 X-HE-Tag: shade43_69402ab07d722 X-Filterd-Recvd-Size: 2446 Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) by imf23.hostedemail.com (Postfix) with ESMTP for ; Thu, 21 Nov 2019 09:15:23 +0000 (UTC) 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 92B8CB11E; Thu, 21 Nov 2019 09:15:20 +0000 (UTC) Date: Thu, 21 Nov 2019 10:15:18 +0100 From: Petr Mladek To: Sergey Senozhatsky Cc: Sergey Senozhatsky , Qian Cai , Steven Rostedt , Michal Hocko , Eric Dumazet , 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: <20191121091518.vcohlxzsri2gv4p3@pathway.suse.cz> References:<20190904144850.GA8296@tigerII.localdomain> <1567629737.5576.87.camel@lca.pw> <20190905113208.GA521@jagdpanzerIV> <1573751570.5937.122.camel@lca.pw> <20191118152738.az364dczadskgimc@pathway.suse.cz> <20191119004119.GC208047@google.com> <20191119094134.6hzbjc7l5ite6bpg@pathway.suse.cz> <20191120013005.GA3191@tigerII.localdomain> <20191120161334.p63723g4jyk6k7p3@pathway.suse.cz> <20191121010527.GB191121@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To:<20191121010527.GB191121@google.com> User-Agent: NeoMutt/20170912 (1.9.0) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Thu 2019-11-21 10:05:27, Sergey Senozhatsky wrote: > On (19/11/20 17:13), Petr Mladek wrote: > [..] > > It is the first time that I hear about problem caused by the > > irq_work(). But we deal with deadlocks caused by wake_up() for years. > > It would be like replacing a lightly dripping tap with a heavily > > dripping one. > > > > I see reports with WARN() from scheduler code from time to time. > > I would get reports about silent death instead. > > Just curious, how many of those WARN() come under rq lock or pi_lock? > // this is real question I guess that all SCHED_WARN_ON() would stop working. I am not 100% sure but I think that all WARN_ON*() in set_task_cpu(), finish_task_switch(), migrate_tasks() are affected. I have seen many reports with the WARN() from native_smp_send_reschedule() about offline CPU. Best Regards, Petr