Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp203903rdh; Wed, 7 Feb 2024 02:09:56 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWEl2VQtJ/L0tdgjLnodBJOJjPEOdkdTkL5dpfPVWBnaO36wu4gEA6uGytTvQRkqPYOiW4USgjnzRgfFGhNKsejyWN2JGr3NzMRyEg2Rg== X-Google-Smtp-Source: AGHT+IHCkk8OYDB+8148e+35IKWWQKeKvzj52v+rW19OBtqFQz1/ecclL49SJ7iZ8lPkJ+e6tlaM X-Received: by 2002:a17:90a:ac0a:b0:296:235b:ac61 with SMTP id o10-20020a17090aac0a00b00296235bac61mr2457459pjq.32.1707300596680; Wed, 07 Feb 2024 02:09:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707300596; cv=pass; d=google.com; s=arc-20160816; b=J41rDsrBWaXpJ9TuseCtM+o0ENwymQaO/J75FU5EKBUYdztW2o7QgZiwKzLDnNc8xN WsV2p1qrBSxXkRLc6DgwaPCt2bTa0+ZEddGC0KQrsMKyqGAliOd8loqYLK4a1dO+bTp7 HZt85h8Yh55bsj9LGiC5r9tVB4RbIp9RIyn83UeWC35PyD75d25M1zp9q9xajPf+y6Tn xTTXplPpllpw0n2/h8CYN/9VImp9GxGnk1Jt6k9apB2RPQpcApKiwa2sBqgaA+gVtkVw mbw67oq8Wm+RPio/u+Q51ix/mC1aNGN7ylmCmUnYLn3Iy9x06oQ3kNnZBg/m/bkTDT9J IxIw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=7cWIqL+AIo9NrMbiRmTYyymRICjR4BA6HqjzIbR46P4=; fh=6F6e0OeOgE2ouquZbI2Ky8ZT2b4pw53ZBC9RPGmtCUc=; b=NyVC++2aU6yF35hY4N5e+ufU44fseW3yrQQFHe0dmNy/7wY9VyaVFBP5/dGs2+i2gh pTnkKaTjGi1KZ4HnD6Z++QwY0lzKoo8XgMoVa4CJXAXEaPWY5EQsgf/kQtFa4x71Bg8l f60/Dsmuw0xPZy1KqWhFSBCcINqIiEzm+39a1QqtqPQaTe2Fwnj7m/d68GCZ1dDBq3aZ HI49hAZEYAjac2QkcvrfkkTMAYbOjLhMCifgqwGEBdCkGZdEAJi8Hw5MKtl8TulShvyz DSYXchWzgl1bE4IapZbgUiZfDJ0B3QGKByB3lRDO9Nkd09xegeoLsx9wwGkgUATdIz6W +aPg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=qS9+itkL; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-56286-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56286-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de X-Forwarded-Encrypted: i=2; AJvYcCUSp0nna5XSvHQux4mf20c6CrG+kMnw8pEoxBeOrs8avWLfBL8jd8A8SG9exouSRHsarfOHv4eVbPrIp7N5Ohfy+8wGS/Nl6+QDvN9UZw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id v15-20020a17090a6b0f00b0029663cbe716si1211459pjj.72.2024.02.07.02.09.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 02:09:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56286-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=qS9+itkL; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-56286-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56286-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 0C2BD286510 for ; Wed, 7 Feb 2024 10:09:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0D57625611; Wed, 7 Feb 2024 10:09:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="qS9+itkL"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="QmscFldW" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 B7441250F2 for ; Wed, 7 Feb 2024 10:09:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707300580; cv=none; b=ItMS617T5T305xdl2a24aMMRh1Ce9yB/4UNMSwf98rcrAnUXzRb26LKO4NrB4/BXiSGyIAGrGakkmCtsxXg5T2vgzWjS2WWAUTv7wlssVgLfDpAYZ8P+LXbVXEBJFfVMhp6dBnKE3ujjOGwtrgUxxoDFzTnYiaoBdSRm9id5Wzs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707300580; c=relaxed/simple; bh=7cWIqL+AIo9NrMbiRmTYyymRICjR4BA6HqjzIbR46P4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=D8JERi3IgQQC9CVWVzDzMUvGTggj7/hd2010ErXyB77Yi4JuVA8+LGbCHCJD05nmC0ysKNA9mxcQ50f1Q/4aOtxXTTOb6P41wl0+neGZbXMzLnB6UozFg2Q14/c9XtmlM8oVYYb1tlvf3Fnu9a1MpyebUPX9mHA8vuWpwrJC7xk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=qS9+itkL; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=QmscFldW; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1707300569; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7cWIqL+AIo9NrMbiRmTYyymRICjR4BA6HqjzIbR46P4=; b=qS9+itkLNVJWa5S3VSX7TMK27feLcw1kNYrg9ieql7hTn5ZQGzzDvYV+0csOmzI+YKQaiL goHljjBJUhdjUlxeo+jouMQJe87g8wKR+f8cyR3QuI7vqqCXv2Fd8yG6/3ylMYvipIHlFV Lq0mGY1dCWMCfHore6EI4t7H6g9OnPazJSJDOKfYtZBh/bGZX2NymM7i5/R0ZXn9ZisxZB PCvNMv5O1hPmzHF5h5RGqcaYCG6cQLnejivuCblICzVpEXokoEq4Gu8gv6M5sUmj68xcGU 5pfhLiSXpUspbpY8gSm2G8mHBcy6519hc9LCDvmmt8Oh21YQvuBhJKxPmMvABg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1707300569; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7cWIqL+AIo9NrMbiRmTYyymRICjR4BA6HqjzIbR46P4=; b=QmscFldW/I7x3UnXzbL7KT42pMtGsUFS6iQ4BlHWhqDznumDeUtnwk6u4Q65dk+vj4m5o4 4BvV+aZjzjlUXkDw== To: tiozhang Cc: Jonathan Corbet , "Steven Rostedt (Google)" , linux-kernel@vger.kernel.org, zyhtheonly@gmail.com, zyhtheonly@yeah.net, tiozhang@didiglobal.com Subject: Re: [PATCH] hrtimer: add cmdline parameter retry_threshold to config retry times in interrupt handler routine In-Reply-To: <20240131104152.GA19461@didi-ThinkCentre-M930t-N000> References: <20240131104152.GA19461@didi-ThinkCentre-M930t-N000> Date: Wed, 07 Feb 2024 11:09:28 +0100 Message-ID: <87sf24mvqf.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Wed, Jan 31 2024 at 18:41, tiozhang@didiglobal.com wrote: > Motivation of doing this is to give user a config option to reduce time > cost in hrtimer irq when influenced by some time consuming hrtimer > callbacks running in irq context. > E.g, if we tune this parameter to 1, we dont retry anymore to prevent > occasionally consecutive time consuming callbacks running in a single > interrupt. Which is the exact problem you are trying to solve here?