Message ID | 1675154394-25598-22-git-send-email-max.byungchul.park@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id EFDF7C38142 for <linux-mm@archiver.kernel.org>; Tue, 31 Jan 2023 08:40:35 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4FDD76B0098; Tue, 31 Jan 2023 03:40:07 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 48EFB6B00A0; Tue, 31 Jan 2023 03:40:07 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1A5B56B009F; Tue, 31 Jan 2023 03:40:07 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id E4F7A6B009C for <linux-mm@kvack.org>; Tue, 31 Jan 2023 03:40:06 -0500 (EST) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id C36F0806E8 for <linux-mm@kvack.org>; Tue, 31 Jan 2023 08:40:06 +0000 (UTC) X-FDA: 80414446812.19.3787CC3 Received: from lgeamrelo11.lge.com (lgeamrelo11.lge.com [156.147.23.51]) by imf04.hostedemail.com (Postfix) with ESMTP id 8C71940004 for <linux-mm@kvack.org>; Tue, 31 Jan 2023 08:40:04 +0000 (UTC) Authentication-Results: imf04.hostedemail.com; dkim=none; spf=softfail (imf04.hostedemail.com: 156.147.23.51 is neither permitted nor denied by domain of max.byungchul.park@gmail.com) smtp.mailfrom=max.byungchul.park@gmail.com; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1675154405; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=/KVJe06Myih7eO0UjMzcYRwZE4PO0RMlkTLcvu4jDuU=; b=JTjKQ8qaB7EMC6o98tuZ15Dhq7bXgDEFMDimcaTQKccyu0C3YqkqCCJ9jI/QLJbnaQcsZn nwKuZtyA3blwZsh+7krgbNHOAvdkgffcFSF9bEqeDRTM9jsps9Gh5LpqSYGRLdxcs+MSLB LlDeQ8Gis8nvEGm1wq3Fn4M92LCM8NU= ARC-Authentication-Results: i=1; imf04.hostedemail.com; dkim=none; spf=softfail (imf04.hostedemail.com: 156.147.23.51 is neither permitted nor denied by domain of max.byungchul.park@gmail.com) smtp.mailfrom=max.byungchul.park@gmail.com; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1675154405; a=rsa-sha256; cv=none; b=z4mpGcew2pIPjEIt46W6J2J6XAQQ5A7S03cUfEyRY1yy+b+XLHmB1k7BF7AX3+n4+6kkrI XYELDCUDrjl2+SkcH2JPjEGPuY+h85b/ACWwMpr9qkAQOyk55CMXCKPaKtagkyy8xy/388 4rLcw+PsaOzc6AN4B7SeIMccWaYCz9k= Received: from unknown (HELO lgeamrelo04.lge.com) (156.147.1.127) by 156.147.23.51 with ESMTP; 31 Jan 2023 17:40:02 +0900 X-Original-SENDERIP: 156.147.1.127 X-Original-MAILFROM: max.byungchul.park@gmail.com Received: from unknown (HELO localhost.localdomain) (10.177.244.38) by 156.147.1.127 with ESMTP; 31 Jan 2023 17:40:02 +0900 X-Original-SENDERIP: 10.177.244.38 X-Original-MAILFROM: max.byungchul.park@gmail.com From: Byungchul Park <max.byungchul.park@gmail.com> To: linux-kernel@vger.kernel.org Cc: torvalds@linux-foundation.org, damien.lemoal@opensource.wdc.com, linux-ide@vger.kernel.org, adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, mingo@redhat.com, peterz@infradead.org, will@kernel.org, tglx@linutronix.de, rostedt@goodmis.org, joel@joelfernandes.org, sashal@kernel.org, daniel.vetter@ffwll.ch, duyuyang@gmail.com, johannes.berg@intel.com, tj@kernel.org, tytso@mit.edu, willy@infradead.org, david@fromorbit.com, amir73il@gmail.com, gregkh@linuxfoundation.org, kernel-team@lge.com, linux-mm@kvack.org, akpm@linux-foundation.org, mhocko@kernel.org, minchan@kernel.org, hannes@cmpxchg.org, vdavydov.dev@gmail.com, sj@kernel.org, jglisse@redhat.com, dennis@kernel.org, cl@linux.com, penberg@kernel.org, rientjes@google.com, vbabka@suse.cz, ngupta@vflare.org, linux-block@vger.kernel.org, paolo.valente@linaro.org, josef@toxicpanda.com, linux-fsdevel@vger.kernel.org, viro@zeniv.linux.org.uk, jack@suse.cz, jlayton@kernel.org, dan.j.williams@intel.com, hch@infradead.org, djwong@kernel.org, dri-devel@lists.freedesktop.org, rodrigosiqueiramelo@gmail.com, melissa.srw@gmail.com, hamohammed.sa@gmail.com, 42.hyeyoo@gmail.com, chris.p.wilson@intel.com, gwan-gyeong.mun@intel.com, max.byungchul.park@gmail.com, boqun.feng@gmail.com, longman@redhat.com, hdanton@sina.com Subject: [PATCH v9 21/25] dept: Apply timeout consideration to hashed-waitqueue wait Date: Tue, 31 Jan 2023 17:39:50 +0900 Message-Id: <1675154394-25598-22-git-send-email-max.byungchul.park@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1675154394-25598-1-git-send-email-max.byungchul.park@gmail.com> References: <1675154394-25598-1-git-send-email-max.byungchul.park@gmail.com> X-Stat-Signature: n8ni655wuc7aippp36a6i5eh487qb3w7 X-Rspam-User: X-Rspamd-Queue-Id: 8C71940004 X-Rspamd-Server: rspam06 X-HE-Tag: 1675154404-379683 X-HE-Meta: U2FsdGVkX19axQwrQl6ssK0ey0NmdUc2hMGjzYBqHL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Hy9ZXv5CjadLxk565sepBqp2e8l5gJ+/4zeqU0+G8aHRCh2KMFYW+YMpA+WPl3gncMGPIvWhFBxO6svwLGUZjkR8SbJkejbrJw5DfLbufIX1OoN1ldviYKFLRW6D3T9a9t/ECvkEvDHx1Dp6NSi3yTHxqXHJWlnNW2rAKKAIPsAfbbgKwngo/zH2ubsq0BaZ131ATB 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: <linux-mm.kvack.org> |
Series |
DEPT(Dependency Tracker)
|
expand
|
diff --git a/include/linux/wait_bit.h b/include/linux/wait_bit.h index fe89282..3ef450d 100644 --- a/include/linux/wait_bit.h +++ b/include/linux/wait_bit.h @@ -247,7 +247,7 @@ struct wait_bit_queue_entry { struct wait_bit_queue_entry __wbq_entry; \ long __ret = ret; /* explicit shadow */ \ \ - sdt_might_sleep_start(NULL); \ + sdt_might_sleep_start_timeout(NULL, __ret); \ init_wait_var_entry(&__wbq_entry, var, \ exclusive ? WQ_FLAG_EXCLUSIVE : 0); \ for (;;) { \
Now that CONFIG_DEPT_AGGRESSIVE_TIMEOUT_WAIT was introduced, apply the consideration to hashed-waitqueue wait, assuming an input 'ret' in ___wait_var_event() macro is used as a timeout value. Signed-off-by: Byungchul Park <max.byungchul.park@gmail.com> --- include/linux/wait_bit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)