Message ID | 20240508094726.35754-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 7F4CAC04FFE for <linux-mm@archiver.kernel.org>; Wed, 8 May 2024 09:48:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1815D6B00F7; Wed, 8 May 2024 05:47:59 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1321B6B00F9; Wed, 8 May 2024 05:47:59 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E50726B00FA; Wed, 8 May 2024 05:47:58 -0400 (EDT) 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 C78016B00F7 for <linux-mm@kvack.org>; Wed, 8 May 2024 05:47:58 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 8C9F0C1441 for <linux-mm@kvack.org>; Wed, 8 May 2024 09:47:58 +0000 (UTC) X-FDA: 82094752236.27.8198825 Received: from invmail4.hynix.com (exvmail4.hynix.com [166.125.252.92]) by imf17.hostedemail.com (Postfix) with ESMTP id B16744001F for <linux-mm@kvack.org>; Wed, 8 May 2024 09:47:56 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf17.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=1715161677; 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=i/1p7uxIphadCE3e+g81cmPEk5jGWCAgwvuX7sSu/wpDq5JYyHaOhTq9JmFKbTWk3HBCqa ZfP8V47Fz90F/4W51k/IeDY+tMW1MWaZ8lpWlH9yQpUhB2ph+7vl+6uGS6hkYbZPiPGdFv DjBudYFZanLTixm0N/CUqeDjcrhFv3M= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf17.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=1715161677; a=rsa-sha256; cv=none; b=zsb5U+/bcZsLZMhrdwb4bj9fdoN/rWGWdfkUv9W+dGDBd5Uy8Q5pLQb7fY3xTNKB+VWDhG KqxV+NOYDv9z2NcG5rPKMecQT6OlhxKXebpnwnvAuQQoppjPfo5X82AKR5nqpa+2liY73/ ejDEopq/3l1M/pEEAtkNCZes+QZIb+c= X-AuditID: a67dfc5b-d85ff70000001748-59-663b4a3b5c02 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, 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 v14 20/28] dept: Apply timeout consideration to hashed-waitqueue wait Date: Wed, 8 May 2024 18:47:17 +0900 Message-Id: <20240508094726.35754-21-byungchul@sk.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240508094726.35754-1-byungchul@sk.com> References: <20240508094726.35754-1-byungchul@sk.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWSe0hTcRTH+/3u0+HqtgJvBhmLsCx7iNXpJRGVlyAqoogKdOU1R2oxXxkU lrNMm5Rhmo9SZ2vMtekUqUxZmpZptmqUxRQd9hhODWviUqpp9M/hw+ec7/evwxKyeiqQVSYm i6pERbyclpCSYf+K0M27N8eueWabCzeurQHPz2wSSs1GGmymagTG+osYXG2R8GHcjWDy1WsC CgtsCCoGegmob+9D0KS/RMO7wdlg94zS0FGQS0Om1kzDm6EpDI5b+RiqLXug83olBqv3KwmF LhpKCjOxb3zD4NUZGNBlLAWnvpiBqYG10NH3noKmTyvg9h0HDU+aOkhof+jE8O5xKQ19xj8U dLa/IMF2Q0PBg5FKGobGdQToPKMMvLWWY6hR+4ou//hNwXONFcPlqloM9o+NCJqz+zFYjO9p aPW4MdRZCgj4db8NgTNvmIGsa14GSi7mIcjNukWC2rEOJidK6W0bhVb3KCGo69KEpvFyUnhZ yQuPinsZQd38iRHKLSlCnT5E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qCy4YsGvQOP5j6kcsG+pOG0XGK6MtPkprJ PJq0FIikMqebI/raLo7kmWNJeaE3uVM9gkn+hJMh5qJLLDFPZHAk5ZMdk7H2do40XZ+iyYA9 G+/2PCDbclSKUMdJmrXbjsjC23SlKCaNi//sSMVJqJdJQW68KGwQH927P8es4CW+e+eiZtld WCaWp36Y6ylhVCbebd8xy4uEveK4zcLNMi2sFHtLenAK4nm5sFFsa1P+Uy4Vix/WzWncZurO oTE0ywrBT6zS5XDXkCwPzStC7uqouEiVOsLPR3s8PCFKHe8TGh1pRjNvMSZOpz9B3zqCLEjg kXK+3MYGhCkYVZw2IdKCRJ5SussbL2wKU8iPqhJOSZroEE1shKS1IE+eVi6W79wnHVEIx1Qn pOOSFCNp/q+Yd/NIQh5VvnvOFyy5Gpgp5MukwEuLDNMbvZYPEfeDRY7vz7YNSsEtreHV1hAL eAZ3fYlR7kpcf2jKK9Znf2WL5F2Ktvzy7x5cNjzctkczGGSoL1uVb/2RoXgQutVlus1FRr8o 0Z4+U5nYFR+b3H+9X1+v0D/eXrZi4nCTwXTWd2GIPX5ASWvDVb7elEar+gs90H2lKQMAAA== X-CFilter-Loop: Reflected X-Rspamd-Server: rspam01 X-Stat-Signature: m9sa6j16ebboe3idap8whux1mrw1qquh X-Rspam-User: X-Rspamd-Queue-Id: B16744001F X-HE-Tag: 1715161676-203698 X-HE-Meta: U2FsdGVkX1+KQQrtr8kOg0wOx8NQOcqeLbGH44m5mnZEckp4REzKhQBKyaC4kfSRFWLi/dEvNVCKS7h0jwWc5X9245+lgLwrDqJEaIMF3wbtcURio8bEGqR4pEiRTudRR9LFKnefKaXkQ3gd73/+oI+5OkmW3sQjtA3rQzX+110UO4VM0kuvb0/lye12n0kF6Snn70jDrFlJws5HnjpzDHRFIEH6XadqhiNhh6cZhrQVvkW7Q25yurQl82YSuunb5Rpe4vnk09OlMgse0oBPMd5OfKR8FWHnUOZIpFcGWRLIFm9zEvJqVIJoCw3GrCuK8GNJSZI71c6XzQQY+V4VKdyvyE7+wxlz3/aIdJ/PD82nYkfryU/5d0BPUQuGnpxVooi2Ce4fh4hlpBt1KGNAMf4HQ4mLidnG97yvQRFhm/k0dIthK2+7WM3ksMg5j62Y36+na5S7HdmHlQoykIMhs3Ir474y63LCGEh5z/JcRW61dD8lfGgntlLjB+Ocmhe6AZ1s1+DjF+oZ8oaG9JRjki5kdwv+xNWW2mDYv4mhx2byy7zDRPangsblbsgMC2/4U7716pZXOgAGlr5ilCA9mMl6laCWfJ6bokJxsnSbZ/dNfbh4Rrw3AzpJ6fmwHo6TBtkzusE5R+GZL9FK/BAA1FAQxn+NjmdQmCX1FV/K+ricg+F/9LqQv2Nm/LUV23h9J6w92t5Ortcz1VRb2fIvsKAa2zePOX+oVC03snTMjc5U6sanBb4doXWdHCEqmZ14XeBPra1/ZmnB2exaApzzOOWrElbAi6RPsIiZ9dYnK/ciqkcYY7zet50pCNZkrSS1h7Fy0RON+wEQGIfi4vR218TyniPNB8OPrJUSW3TFv/NJEHPYYTU6LTKGnfx88ng7c0VWSA47oyBILJVmTGPKRaijuBLLzr6PydEqZ1J46Dp06hLG7WPD01qMTdcHBdTdS7G/uLAzlXyBjwAA6dA nopzv8hu 9TqGRyzazCuMPz4aOR1pAKhI2h6X4mqEn0dV9AX67OmLburjuNLCqTzh+7lwZqdea8wCa 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(-)