Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2016445rdb; Sun, 11 Feb 2024 07:37:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUYlmnOpG65sbzidY8+LZMw1TyA2vA3vNAW+ybmDv4/3QKhqRWarRhBx3y2sIl5+eLhULBp182bkqdMU4aEsPpm4SVw/xniuJP5095FFA== X-Google-Smtp-Source: AGHT+IH/MB5Oj2qKVo2xnh/sKxA6V9EAhtsueehxejUsLXE7aQKKW92e7GYymdACR5lJNEmEq8kX X-Received: by 2002:ac8:5d86:0:b0:42c:6005:19a6 with SMTP id d6-20020ac85d86000000b0042c600519a6mr4988595qtx.54.1707665842277; Sun, 11 Feb 2024 07:37:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707665842; cv=pass; d=google.com; s=arc-20160816; b=BJZ+Zk/xc9kyCQfetBlD1YwBXU2nCg0eXwRfZtt13WwmtOmU0h7YBMM/6VPeW/0APx 2REEKeCCQWGyrNxVFnQ4sflK58BPHPUWSDRL0x9QGH/jwC1MnuUv81Iyl5WZBLZcElfh xO470OXYXnWQ+W6EC0xE4krnNFQ0e8Atnkj7aB2/G72yhhQXcOjeWopTV9SkJArTm5sf wj3kMrKkp6JVaOZnarjFirrFpX8JcU19heFi+qS3TLBrRx4EcYzy9OUmbGQIPFSXDHhU zFbnz5FaeFQzlKtp7ENzA2bVPWuPArHm/B6+700Q51e308oO88AwxopZRwxeSN4uH0f6 us3A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=S1Iv63ntPIBNm9J2Nrlm691l1saLabCtukCnwzknJRU=; fh=J5VQlFMq60fVt0pL0j95bUZels2de767vMfz9AJsrRI=; b=qojdlK2cKKjscW3bHyzI6j32m9PvocytyprJca5eUHSSibl0FV7xtjDcRSjkTV722p Vbf6j1xDlm14xilWT6A5H77px+KObQBwJ85x5Aiaoth+GKHWMQWODUITWm0BX/kpychO stnaOfaiin0j7GDDYFaF/b1QxBgG1teYU41JXqhpmjYQeslCkHMICTzPeJ+z+T3psA3Q JxudJ1HzH/Fm07VPnVOlLWL7JGx1J3CEHYzaBURMCyyDL5E7x3j5SGzznwVzDEAD77YW UEeyg5KVndji5wJa5yZeUDYdGJR2WQSaP+5ENB0NDK0AwzBvFdHK3oziewAE8iNLB6GE juEQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=tDeNQHwQ; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-60836-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60836-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com X-Forwarded-Encrypted: i=2; AJvYcCUdCQnFOudBXBm95ppG5BtU8vBkPMHrZF6pckNz3X+jkBRcxmUi2Y3+DZUzg98eqi6uxqrLUBX2X/HtzHP2J8aeXUXNmaDeR5HWlxcHKA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c22-20020ac87dd6000000b0042a86d2e689si6459705qte.786.2024.02.11.07.37.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 07:37:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60836-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=tDeNQHwQ; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-60836-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60836-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id DC5C71C20CEA for ; Sun, 11 Feb 2024 15:37:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4E1835C60B; Sun, 11 Feb 2024 15:36:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="tDeNQHwQ" Received: from out199-16.us.a.mail.aliyun.com (out199-16.us.a.mail.aliyun.com [47.90.199.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BF5B05C5FC for ; Sun, 11 Feb 2024 15:36:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=47.90.199.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707665817; cv=none; b=Eso/mSV2GSh42mIJuyQ3edUHz9Fa62jZtK3U2H7yU8ngbtglsXptF1idMVp9xTOhoDtWuu9RUrJ79wIdS3AQMpcOCclg8riSWqg6RmgWL0T5QUiMIPpG1MBvGi3A3gJOM3E3fCSNJla+xKzuIV/0OLorH2CbLS/DOR3lFCe4Nac= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707665817; c=relaxed/simple; bh=iYl66ZTpBWpjyIrY1mfn+UnUan9vHHDYAlJlDszd7Bw=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=qkSTQAKKQhGATcdEclCVjduzanY0KVTCkNlY28yRc0c1JtknSE8qDtmFpg8O20LVP+W6Twz5ow/YSXhmHh9iR5lWDmo6DVJDuCgB1YoeVOVk/ScOr0vspyzl4YvXyXEoLFnmvbXxDImHJP8zsnuZzeb4JdGCEQC3+HhSePkhGPc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=tDeNQHwQ; arc=none smtp.client-ip=47.90.199.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1707665798; h=Message-ID:Date:MIME-Version:From:Subject:To:Content-Type; bh=S1Iv63ntPIBNm9J2Nrlm691l1saLabCtukCnwzknJRU=; b=tDeNQHwQnQeLR2Jrk7IhxGo2JiUXYJEwIaA2spGY6aF70corvNBX9LXN5yLcXGZgZii5GgvTpJA1yr/amfmkxGdQeKuOSwOKauEOwSIK++Uu4C47AAT5Ns7DLNPw5XF4SZ7QMZZY0oSyXQVW/gEjWgd0Od3x4dA55Da4Z3VJfpg= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R181e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045176;MF=yaoma@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0W0QQ5Yc_1707665782; Received: from 192.168.0.104(mailfrom:yaoma@linux.alibaba.com fp:SMTPD_---0W0QQ5Yc_1707665782) by smtp.aliyun-inc.com; Sun, 11 Feb 2024 23:36:37 +0800 Message-ID: <2babef6f-8b55-478a-95c3-337b3b1325ac@linux.alibaba.com> Date: Sun, 11 Feb 2024 23:36:37 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Bitao Hu Subject: Re: [PATCHv6 0/2] *** Detect interrupt storm in softlockup *** To: Petr Mladek Cc: dianders@chromium.org, akpm@linux-foundation.org, kernelfans@gmail.com, liusong@linux.alibaba.com, linux-kernel@vger.kernel.org, yaoma@linux.alibaba.com References: <20240208125426.70511-1-yaoma@linux.alibaba.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024/2/9 22:48, Petr Mladek wrote: > On Thu 2024-02-08 20:54:24, Bitao Hu wrote: >> Hi, guys. >> I have implemented a low-overhead method for detecting interrupt >> storm in softlockup. Please review it, all comments are welcome. > > I like this work. > > I wonder if you might be interested also in reporting problems > when soft IRQs are offloaded to the "ksoftirqd/X" kthreads > for too long. > > The kthreads are processes with normal priority. As a result, > offloading soft IRQs to kthreads might cause huge difference > on loaded systems. > > I have seen several problems when a flood of softIRQs triggered > offloading them. And it caused several second delays on networking > interfaces. > This is an interesting issue! I had considered the matter of softirq while working on this, but since there were no actual issues at hand, I didn't conduct an analysis. Your mention of this problem has opened my eyes. Best Regards, Bitao