Message ID | 20230821034637.34630-22-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 938C2EE4996 for <linux-mm@archiver.kernel.org>; Mon, 21 Aug 2023 03:50:33 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 50E6894001A; Sun, 20 Aug 2023 23:50:02 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4484E940019; Sun, 20 Aug 2023 23:50:02 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1D47B940017; Sun, 20 Aug 2023 23:50:02 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id F0CBA94000C for <linux-mm@kvack.org>; Sun, 20 Aug 2023 23:50:01 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id D0E3F1202EA for <linux-mm@kvack.org>; Mon, 21 Aug 2023 03:50:01 +0000 (UTC) X-FDA: 81146733402.22.2E0FAD4 Received: from invmail4.hynix.com (exvmail4.hynix.com [166.125.252.92]) by imf05.hostedemail.com (Postfix) with ESMTP id 09357100008 for <linux-mm@kvack.org>; Mon, 21 Aug 2023 03:49:59 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf05.hostedemail.com: domain of byungchul@sk.com designates 166.125.252.92 as permitted sender) smtp.mailfrom=byungchul@sk.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1692589800; 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=443rrBkvx0YhUhQ0e9veDxn7V5xcMIsqTGkD9EFIVuQftWvxaTqWibUXGd/UJfnZLfvsFh Qr3bCqZ1kmKcMDzhzK9/VbQ4V+YCCtoFvFO71kqwqQqOD45bhwNR6Y6Kc8YgN3ozDtGSPD qsImc2v5yU962FN/SIGpryEL0gseIoA= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf05.hostedemail.com: domain of byungchul@sk.com designates 166.125.252.92 as permitted sender) smtp.mailfrom=byungchul@sk.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1692589800; a=rsa-sha256; cv=none; b=zOfT05poRVsKWT6du0MJUsBDGEgBYL7xtdrbxWTGqtygNeq9HOFJg2v9JhPVhevUyvMIfm WiowdG8jDLKNf13JTEnXSW204A/V2+WFrE9D5qXRBQ3TleXmohX4HQmsqdvyvUy1FxZaLk TAbwJ2sIEKOfz9Nz45EBp+G2JD85KGk= X-AuditID: a67dfc5b-d6dff70000001748-3b-64e2ded6c3cd 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: [RESEND PATCH v10 21/25] dept: Apply timeout consideration to hashed-waitqueue wait Date: Mon, 21 Aug 2023 12:46:33 +0900 Message-Id: <20230821034637.34630-22-byungchul@sk.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230821034637.34630-1-byungchul@sk.com> References: <20230821034637.34630-1-byungchul@sk.com> X-Brightmail-Tracker: H4sIAAAAAAAAAz2SbUxTZxTH9zz3tZVuN5VkV6pzaUKWsIhKZDshxi3ZB+5cfEmWmOgwckdv pLGgKe9sJCCIyJugAr6gASS1owxYIQtDq7UEEBEoQrAyaNbOTYkUEGmhwsRW476c/HL+//P7 dFhC2UWFsdrkVEmfLOrUtJyUe0LqtzxyujXb7PMfQWXpNvAuFpFQ29pMg73FhKC5Iw/DdE8s PPLNIFgZHCagpsqOoN41RUBHrxOBxXiShtEnH8KYd46G/qoSGvKvt9Iw8nwVw2T1OQwm8x4Y qGjAYPU/JaFmmoYrNfk4MJ5h8BuaGDDkhoPbeJmBVdd26HeOU2CZ+BwuXZuk4Zaln4TeTjeG 0a5aGpzNaxQM9N4jwV5ZRsGvsw00PPcZCDB45xh4aK3D0FYQEBW+fE1BX5kVQ2HjbxjGHt9E cLvoLwzm5nEaur0zGNrNVQS8utGDwF3uYeBUqZ+BK3n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P3q1oEDenv MMiVPTQ0ewcxVMt2Aiau3UPgyfnCQFqWj4HCkzkIzqblk/Dk530KrL1hMPmjiI4MF5oHhwjB Wn1EqB8rJoWOEl64c+kNI1gbXjNCsXxYqHaGCKV1/Vi4OuKlBLk8gxbkkTxGyPzSjYWvjx8z QtuFSVLo6y7AO4N2K9frJIM+STKtiIhRxj20VKHEHObocG82TkVuKhMpWJ5by5dl+Jhpprkl /MuXPmKaNdxCvjr7g99RsgR3ZibvHH5ETxdzuD18Vpntr0Rywbz9+28yE7GsilvHZ/5Y/W9z AV9xs/GvovDHcu1dNM1qLoz/5n5P5iJlMZpRjjT6+CSjqDeEhZoPxCXH64+G7k0wysj/M46U KdttNNq1pQlxLNLOUsUEeXRqSkwyJxubEM8SWo0qcNytU6t0YvIxyZQQbTpskMxNKJAltfNU 23ZJMWouVjwkHZCkRMn0v8WsIiAVHT9ReCSAjX12rKll88T8O/I5UVxvjJ2lMKifvhpZOtFs j7ZEuT6btrZcTnqHJna/tQWtmaNYPehJHkiJHI/c2aGLiHYMkVHplh2+utwsKzdT6zRvCCzV JEZpckznh888n1zUYEl5P7t2Q/jFwrzFGzf1Ldo+d9/+4Nj8gyVrricYtaQ5TlwVQpjM4h/H eh1gLwMAAA== X-CFilter-Loop: Reflected X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 09357100008 X-Stat-Signature: 8yjt5qfcz74sm59og41bkjd4s5qfmxxs X-HE-Tag: 1692589799-45547 X-HE-Meta: U2FsdGVkX18RiH0rbNL4GVPHCA4HdEnpbdqj9pGaMnJoY/Rft6wg50/Pm+zgiHW6OHBFsdENhW3CwrSaNGm5pNMnbFEmCC38FNlkT9QyD1S3CuSBNnU6NTWtzIELF5wEKj3584nhoIcJdMoTTIckvjAlWDLgaGfC77eAavoXreFjMCXcMnY9SkhKhWkwqBzy+DBB/tq3CrLe4xpGLdbrFDTmpibWI3ASkw+ci4TsC61S1dO8vHqAE4dGLYOiQTqiC+TT17+zsOz2E/FAmaFA81IFbRuLfqqoYfGcVllp33bUr2UgSHUJIlss3sN6lTRvuo6DYFwv/Nc409X2/e1s1acyg97uUtkLVgQ5ZXSHgLZVttF2iNZyzMrLLqdh/oyFUZgkSzv4ioDxMaV3iHIrJTBRNUB7jT5CsiQI4HebYLwJAVjICrjUM9jHAoYKwAc5SgCChx7oV/uMgXLgJEH8cTVlBhkOT1yM0UX9gmM/jeu76W/7LPcznEkQ4wbLELj8zVzpKQ7l6CmPKlHBEBCbIhUrRcgoa357wIx/hd8sQzczaZUWvbkTwSH+O30GoBNrQx1hOguorESWo1L0dmY7xZUe+KZjN8JvlAZnflyhKBrjGg6jNsaMTJevfJ2ZmpjZyzZEEhOfdZudFMfsJNVjn6oXLaJI2YPEuLn9R4YOObpg7ofswpLD6pSvlaFxKOtfMark5NhHeJe/NvIb7yhczLoDTtHnnkOl9KMz46SFsofCxym8Hxnw0vcNXM2eo7/0IePA8yKFJXn1bD5JpDTQXIj7ccnDz5TUgKrkhHYOlotitzuvo3ktZRz5sVgi/9juaP2Shwu6Moe78I2dFnOaDacBWsNwbmVBifq7mmF4knPdxKmAxJHahubrnW4lryM9FT0n4IH6FxV/srAKSDJVrX0WHaxl3DrFbWayhnwapBIHsi8HLU9SxYoqKFoa2GHuCOxkYOdj9NzSAKNLMsz W0WrVGUo E6c0TXwJzEAPTUi8a0mjLOKDq63BLyLM06Q3+xol/2tD5a3hRy+JBRBM+jtCYivg3b36B 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 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(-)