Message ID | 20240221094933.36348-21-byungchul@sk.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 3C051C54788 for <linux-mm@archiver.kernel.org>; Wed, 21 Feb 2024 09:50:36 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8B92D6B009A; Wed, 21 Feb 2024 04:50:05 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 7F0716B009D; Wed, 21 Feb 2024 04:50:05 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 598AE6B009F; Wed, 21 Feb 2024 04:50:05 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 39B336B009A for <linux-mm@kvack.org>; Wed, 21 Feb 2024 04:50:05 -0500 (EST) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 0649614099F for <linux-mm@kvack.org>; Wed, 21 Feb 2024 09:50:05 +0000 (UTC) X-FDA: 81815339970.01.55D234C Received: from invmail4.hynix.com (exvmail4.hynix.com [166.125.252.92]) by imf01.hostedemail.com (Postfix) with ESMTP id 2E3554000D for <linux-mm@kvack.org>; Wed, 21 Feb 2024 09:50:02 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=none; spf=pass (imf01.hostedemail.com: domain of byungchul@sk.com designates 166.125.252.92 as permitted sender) smtp.mailfrom=byungchul@sk.com; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1708509003; 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=09EUZJPmXW7lOZvbeu5TNUPkzhdC2Dat/aeOn/0RYwc=; b=VnrQ6+rh5XKO5ALiKFzFjpzt8mYrrhRf0ziHRKMheYDmU774pQvoN7a1VI8FEsN+3YNRpG nYVn3j/9eD52+yiiOFsIWKzcfhsd4GSdBqkqBjDCvw/fmNrFAQLlfl+RyMCdOkskbwjG35 my+XPoIIyqyu1eMrE1NZQO5tZ8jnyQA= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1708509003; a=rsa-sha256; cv=none; b=0KQJnOV6zaox2BsPrKrecnK2bS/oyGri9QAdyuPE5woOWUdfzp2Vw5ALcogOWtT3F39Tbf p0Am1PA6nUaOl0bgPFnJL6SU+P2BWlLisnZCEAL9jqqZFgSvwuCdVZFbdnZUSZK4OvHd89 pKAdb86BbCliGvvlypOlvXNV018CRZs= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=none; spf=pass (imf01.hostedemail.com: domain of byungchul@sk.com designates 166.125.252.92 as permitted sender) smtp.mailfrom=byungchul@sk.com; dmarc=none X-AuditID: a67dfc5b-d85ff70000001748-c8-65d5c73a9c46 From: Byungchul Park <byungchul@sk.com> To: linux-kernel@vger.kernel.org Cc: kernel_team@skhynix.com, 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, 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, her0gyugyu@gmail.com Subject: [PATCH v12 20/27] dept: Apply timeout consideration to hashed-waitqueue wait Date: Wed, 21 Feb 2024 18:49:26 +0900 Message-Id: <20240221094933.36348-21-byungchul@sk.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240221094933.36348-1-byungchul@sk.com> References: <20240221094933.36348-1-byungchul@sk.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWSbUxTZxTHfZ5773NvqzV3ncue4cxMg4644WRRd6JuMS7Lni9GEqMfxpLZ wVXqSjFFQFymKFUYClEUitKQFl3t2k6wSNANkJfx6kTEKmiQCDNsjUUULVkH6lqmX07++f3P +X06Eqe9LMRIBtNuxWzSG3VEzavH5zni13beUlZ090tw/OgKCD0r4MFW7SXQd96DwHvxAIZA +5cwMBVEMH3tOgfW0j4EjpF7HFzsGEbQ6DpI4OaD+eAPTRDoLj1CIO9MNYEbD2cwDJWVYPD4 NsLVY1UYmsN/8WANEKiw5uHI+BtD2OkWwZm7BEZdp0WYGUmA7uHbAjTe/QBOVQ4RaGjs5qHj 0iiGm7/aCAx7XwpwtaOLh77jRQL88qiKwMMpJwfO0IQI/c12DDWWiOjw0xcCdBY1Yzh89gIG /53fEDQV3Mfg894m0BYKYqj1lXLw77l2BKPF4yIcOhoWoeJAMYIjh8p4uP68UwDL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V8Mnu6bCG5nPsWgVDwiUOfzYqhS8hmYuHQXwUDOMA8ZJ8d5KDycg+BExhkWHn5q4MDWGwmT H+1k7Rpa5x1hqK1qP60Zc7C0sVii188/4antdg9PHco+WlW6jJbcGsK06J2Po0rZcUKVd6d5 mjXswfR1czNP752dZOlzTwH+ef52VXScbDRYZNPKmFhV/H1rJUrO4VPf9GbjdNTPZSFBkMQI yda2OAsFCURcKnV1jTMBrxEXSlXZg/4TlcCIx6ZLpW8ekEAwS9wqOd6WM4EuKy6RhjxSAKvF KKnbeYkLeElcIJVfdX3bCfLzfwq933iwGCl1tP7H5CKVA00rQxpDoiVBbzBGrjDvjU9LNKSu +D0pQUH+l3EemsqrRqPtulokCkg7Qx3/v0cO5vQWc1pCLZIERqtRs/v9SB2nTzsgm5J2mfYZ ZXMtmiew2jnqjdvk2GBxjz5F3ivLybLpe4qFoJB0FKMjus2NMy2zm35Li149Gffj7MGJInLQ qGjDOmy6PyLnouHdMZpjW1q9M6Ontf6ZFCpHbGjbsm5byGInRiW+Z3ZjR9uz5L5fXyZVj/ZE 5NzZOWdR86rBI9aJYkvu9Lcl13d1I1j/y8WpszvSXc1RnS/yNbmpmSmPYzPoF3e/Yo/SsuZ4 ffgyxmTWfwW0t9IeLgMAAA== X-CFilter-Loop: Reflected X-Stat-Signature: 87dergdibswf7a78gscj49qfiey7cd7w X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 2E3554000D X-Rspam-User: X-HE-Tag: 1708509002-330703 X-HE-Meta: U2FsdGVkX18ySBuPxq2jjTelw/D50WVp+E4T6klzGwEkjhQk7VXJadN71+vXYNhyrFJrSsMaACS8PrWQvwMqo4awFk0jQzcR1Q3BXOn5mluW3U+PWtewcW/5FtAvM8A8CxmGMsDKrvob2qLHCUJxtUHDe7rT0xfn4uYJLOQhkHbIFtGgKAB7iueE6Pf4rKEWSEg5XqpyQ5CrUZwj1hs5xDjiM9t0prA2l9d9lxKhOi4A8nIR34MIaX4HjGytYRCuDZoFuUkWajjqfUgGt+fjnKFXJMHFDMzaU2FigGOAuAYildl2/oDBTsDBRTBkmlqi7FOt33TZ/IFxsimuDAcX2I2ioyEe/nCLcC5PPc+FHfiSxPAtSdNn1P7K8MSpFdzHveFxqeyP4raX/LTpKta4ZrLF6W1sUCiIqcusuW13R6ntWhmZKVpJvSncMZXZruZ6/QxTranuoGe8QeVL5jTdFuetbDtLCgBS2CXBssitHXYE4Eq9dSUzq9c31gD6m6SIpTyJrjeRk8k9DmozDT6pC9izrEtArllz7nzTdtmGq+ENHnjny/5CjZhJHZwG9zqV00QCyGA4wQw7kzMrJ/OQ22bvi+8yAL55taVfFbfTkRP95zcb6ahRYHf3ZPm0NFajLH8XIcXfCEVmzshAY3rbjKkLODwI5L95rTfKixclKTcHf9i5O6HHg8BrpIKbrXNcnwu8xZx75OQ1lLfof7Ff1JeVLRCW5SVdwdvZ/KE5vDvfJFNZonYOGiihmCIyvPgM4lecGXJuRiNscHDRXkuYAHV2jjxkQ4Tf2XkV+DMsiaOHEn06bcvjwLVN8FyULvL2AJcQTBnu+/CVS/f3aB71/uZ1zBd4NHODYHzUNgAqQldmdpSFB4Q7dDEa6DZ9qSqSh27cI3SUjvYdk2N+KCriAXkHBarMfnWOiL+riSWFUsvkaeUmVXUjWkiJ/M3Cxm30bC9BdRRWcagLhcFlGnQ /VxoOMnN kt1/wCl21YIiaPYSWasOm8+0Z1/dcFCJMbwJ6zue1tWc1uixk55oNlCBZ0XTazqhJmoyJ 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> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
DEPT(Dependency Tracker)
|
expand
|
diff --git a/include/linux/wait_bit.h b/include/linux/wait_bit.h index fe89282c3e96..3ef450d9a7c5 100644 --- a/include/linux/wait_bit.h +++ b/include/linux/wait_bit.h @@ -247,7 +247,7 @@ extern wait_queue_head_t *__var_waitqueue(void *p); 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 <byungchul@sk.com> --- include/linux/wait_bit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)