Message ID | 20240124115938.80132-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 895BDC46CD2 for <linux-mm@archiver.kernel.org>; Wed, 24 Jan 2024 12:01:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7A30E8D000C; Wed, 24 Jan 2024 07:00:09 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 755458D0007; Wed, 24 Jan 2024 07:00:09 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5AF908D000E; Wed, 24 Jan 2024 07:00:09 -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 387398D000C for <linux-mm@kvack.org>; Wed, 24 Jan 2024 07:00:09 -0500 (EST) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 110AC120C87 for <linux-mm@kvack.org>; Wed, 24 Jan 2024 12:00:09 +0000 (UTC) X-FDA: 81714061338.12.02C85BC Received: from invmail4.hynix.com (exvmail4.hynix.com [166.125.252.92]) by imf24.hostedemail.com (Postfix) with ESMTP id 07DDD180003 for <linux-mm@kvack.org>; Wed, 24 Jan 2024 12:00:06 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=none; spf=pass (imf24.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=1706097607; 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=b5QelIittut+iJVvvFalV6czH7YFK8+43oEnAFHZvKmSfCZARFdd63gBSE4DjT1INvGLot ZKYuKPUKKw075+zCo88i0XcQ2gJ1Astvs4IAsPKxFtuEiARydl8GZ4dOEomZI0LMka3qn5 uWtLVMb4+b9pv3DFJsAJHVejVBzR9qw= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1706097607; a=rsa-sha256; cv=none; b=DS/3DZ3+BkHAl/TXUrEqJy01XuqQ1pHgfZZUOAoTMte72/hk9r93IHExd5BvmfwIZ7E9Er 1+UqsrmE/cBdKc3CFAr7OjKOqV1oCLctirImg4nzV31D0vkE8p47OfgfKo2TJms7wuCbCo s09CRc3sjORUdycx+ksiJ0GMWZSTtMY= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=none; spf=pass (imf24.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-85-65b0fbb7a24d 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 v11 20/26] dept: Apply timeout consideration to hashed-waitqueue wait Date: Wed, 24 Jan 2024 20:59:31 +0900 Message-Id: <20240124115938.80132-21-byungchul@sk.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240124115938.80132-1-byungchul@sk.com> References: <20240124115938.80132-1-byungchul@sk.com> X-Brightmail-Tracker: H4sIAAAAAAAAAz2SW0xTWRSG3ftc26HmTNXMEWM0NUanRgcVzZoZo/hgPF5DML7ogzbDybQZ qKZFBJPBKsULUlSSggiaFrQ2BSm0GhltlYHIRQVRqhamkILEkQBC0CK1eCkYfVn5sta/vqef JeS3qVhWo00TdVpVioKWktLhGOvyW5FqMc4TWA3n8+Ig9O4UCaXOShraqyoQVN44hmHg/mZ4 MT6EINL6mIAiczsCa283ATcaexB47cdp6OifCb7QCA0t5jM0ZJc7aXgyOIkhUFiAocK1Ax6e K8NQF/6fhKIBGkqKsnF0vMYQtjkYsBkWQ5/9IgOTvSuhpec5Bd6uZVB8OUCDx9tCQmNtH4aO 26U09FR+puBhYzMJ7edNFFx/U0bD4LiNAFtohIGndRYM1cao6MTbTxQ0meownLhSg8HXeQfB 3VNBDK7K5zQ0hIYwuF1mAj5cu4+gL3+YgZy8MAMlx/IRnMkpJOHxxyYKjIE1EJkopRN+ExqG Rgj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Q7k9g4CfhU4EXalfGTh5xsPAxeOpCFJOnifh2a+HFBhcYeD9kUNHhIs1PX2EaCiP Fx2DuaT4KF8Q72S/YURDZRsj5toPiuVFIWLB/W4s5g24KdFuSaZF+0A6Ixq/tmCx9+lTRqy7 4CXF9y2ZeP3krdzSXXK0Jk7Wzl0WxakfJ9rQ/lTmUL/LhBNQJ2VEAazALxTeDdwghpnmZwqt rZ4RDuKnC+WmD36HYwn+9GihqP8JbUQsO47fJAx5QoYdkp8hfBjKIodZwS8SfvouMf+a04Ti sqqRToB/X5LVNuIo+TChw3KWOYe4XDTKgoI0sXExkiY6LFS3V62P1RwK3bkvxo78P2M+6ku7 jb43r6pGPItUgYoIi01WUlKcTh9TjQSWUAUpWieUykrFLkl/WNbu26E9GC3rqtEkllSNV6ze LEcp+T3SAXmvLO+Xtf+vmA2YmICcHflT2/vzSusWOHxJ8ZW9Vo0+eEXkixIwLj+WfGT9NdPN wikfietqi5p7UBgpeTca1J2h4VuTUUTK88B1Y7dJcVxD3prAWWN2f9Z5fhd03HMkbTCmpx7O 2tMU/DY7Unkl+NsWve3T0Fnf0CLL3MUPrPHbXYuXLHBuHuectGRa00oVqVNL80MIrU76C1s9 GEgvAwAA X-CFilter-Loop: Reflected X-Rspamd-Queue-Id: 07DDD180003 X-Rspam-User: X-Stat-Signature: n77eebddgxju35etnkqsu58owt14o7sd X-Rspamd-Server: rspam03 X-HE-Tag: 1706097606-881725 X-HE-Meta: U2FsdGVkX1/zkXflsocJfyFGLwW2lOwOuMfV2M8IZN8a5ybSJ6AgsJzr851RshSD0cBnkg77O12H3LY2AvGs3Po9MnUDcDOkoJ9k9/oR15zN2YnqF1OUnMl9SYohKkxe0gRZKGvexQIzeyJYUXUTO80DAJNSTRIeW3h+BCGnURrqJ6szEMrcoY7yfGwcG48khml3sa2UA1gyzU4iBd9ebM2tIDsXLR5Y51103JRfQDkuHNY58j1vnYoobk6iCcdf1BLQqTffS0/Tu6ZRMLnP7YQrwk4zX56Ddd5b6rCngatlQ8OaGOAhNx+rwwpiDvR+Qu+HWfOCxUONZxvJ7Rc0REbVgzhtJscDaByZuF4hhXSwe94gqB04KwdqyJF2UJEAB7bRwd239scXHLQN/Of/5ATxKvfKuIS7bhPhxL1PWCS21FkaRFPBU/mWpRpqxOz8Oe4uoKkp5liD2SbhQdy4T/HaXb6SNyeVpcOFFZke6b362XSv6XbNUPG57l3rr5oqQXfNk07gfbuYYUGjYmyvKKsUkqjwUsy+n9BaDNVNGJI8koqEs7GcdTgz8HhNADfrZ+WeiJimkp/xrzn0QXl5sj4nxnNZR2SJupjooWeB/0ps1uPryQ69vRtPA3Vu7qGXKflyEedYwzaRF0rGAugHKA+FKa8+b4mSWL9Jm2Y3PR0ENLRG2RIY9QyGWqa+UQozqnhuooK5HQ+Qy2ZuNFQeIw97iDYrICuHSiL5Xj5Wd1wWfe63NowNHfrsjWVTT4enx2m5CZv7nWnFD10uOYVACH/ZmapEknFNO+AGa2Msmxouh1NRfiGxWyZ+mLqcxPhlBbhqbASn+s6AUzbJdOqCqsOsIVMWRpMfg0z/umxgWuo1GUkk2uTGFtxiwIuruU0LKtC9IcL4uApJQzwowXMKsLehRD8FokNZWAcdU/2BrF+fFzIApDH9QnU2K1n/9T3Hphvinzb18MohxnWbU2I byjJ50N/ sTTc6TBvoufi9PxIrmAxvD4a0Mpq5fXh51oBbyuNEBXGy1Viwe+fD1kGEdiRKLOz9UgFP 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(-)