Message ID | 20240221094933.36348-20-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 623E9C54764 for <linux-mm@archiver.kernel.org>; Wed, 21 Feb 2024 09:50:34 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4BE9B6B009B; Wed, 21 Feb 2024 04:50:05 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 44BE46B009E; 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 29ACB6B009D; Wed, 21 Feb 2024 04:50:05 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 121686B009A for <linux-mm@kvack.org>; Wed, 21 Feb 2024 04:50:05 -0500 (EST) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id D2483140434 for <linux-mm@kvack.org>; Wed, 21 Feb 2024 09:50:04 +0000 (UTC) X-FDA: 81815339928.06.CD0885B Received: from invmail4.hynix.com (exvmail4.skhynix.com [166.125.252.92]) by imf11.hostedemail.com (Postfix) with ESMTP id F0EE040010 for <linux-mm@kvack.org>; Wed, 21 Feb 2024 09:50:02 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf11.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=1708509003; a=rsa-sha256; cv=none; b=FPi1R9J+cvftBfwnvFA8GUSUAyDyEIRu8T8LmWT3rjOJBGv1X/FDak1paOe//iipdp8axm J/q8CCf5vJ4ruDso8mW20wuS352G3Mvx6xRBv/+oUmVimd6KSDbJiPrjoH7fVkdClApAb7 hBCqkWMBqPoEio8cDxF84kgSe3aw6Bo= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf11.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=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=YVDDkQHFzxbFTiMkMkY+ZxfckVM+bAmVTqO//P5VhrQ=; b=QgIDIubLjWfbSgHZhw84sNsCdMCqyIf3OnTd5ZRDAJf3Oc+CdMwN0Gl06WfU4NgVgMg7vX AVbVR11+2kYFOI4aDfpMBuMP2joOmlNh88i8jE0kGTlFSin0pZbGwz4GqXO7ai1u10g5jW rsuDwHvGO/5cJ8KQM8qBR1v2kOkOM8E= X-AuditID: a67dfc5b-d85ff70000001748-b8-65d5c73a0bd5 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 19/27] dept: Apply timeout consideration to waitqueue wait Date: Wed, 21 Feb 2024 18:49:25 +0900 Message-Id: <20240221094933.36348-20-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: H4sIAAAAAAAAAzWSfUzMcRjAfb+/105nv87bz9mwM2OMYtjjdf5gvmaM+S+Mo9909MJdSjZz dEd6ISwnJV3aOXV6uWreql01decm4aJaHZKXVCIuUl6uzD/PPvs8ez5/PTyluMcoeU1UjKSN UkeoWBkt6w00z19R3ySFfMzAcD4lBHzfEmnIKrKx0FhYgMBWdgJD14P18GKgB8HQo8cUmNIb EZhft1NQVudFUGk9ycKzznHg8fWx4EpPZiHhehELT7qHMbRduoChwL4J3Gm5GByD72kwdbGQ aUrA/vEBw6AlnwOLfhZ0WK9wMPx6Ibi8zxmobJ0HGdltLFRUumiou9OB4dm9LBa8tj8MuOuc NDSeT2Xg1qdcFroHLBRYfH0cPHXkYCg2+EOnvv5moD7VgeFUXgkGT8t9BFWJrzDYbc9ZqPX1 YCi1p1Pw88YDBB1nezkwpgxykHniLIJk4yUaHv+qZ8DQtgSGfmSxa5aT2p4+ihhK40jl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J18h8FW 1MRCpbsDg92WTsHPq48RtJ3t5CAxeYCDrPizCM4kXqSh/lc1A4YWFQz+yGaDlpPKjm6KGOwx pLTfRJMneSK5l/mGI4ayZo6YbIeI3TKfXClpxyS3180QW8Eplth6z3HkdKcDk666Oo7UZAzS 5IPDiDdM3S5bESqFa6Il3aKVu2RhuWU11IHb3OH8pGYUhwzsaeTDi0Kg+P7tN2aIWWGu+OrV ADXEvsJM0Z7yyetlPCUkjRQtPc+GD8YJ60XrR6eXeZ4W/ETjrzVDWi4sFWtuPsH/mjPEwuLy 4Y6P11/L6hjuKwSV6Hx+m0pFMhMaUYB8NRHRWrUmXOWv3x8WG6E57L8nUmtD3p8xH/Ok3UV9 jcEVSOCRcpQ87I5DUjDqaH2stgKJPKX0ldMxXiUPVccekXSRO3WHwiV9BZrC08qJ8pAt0i6F sE8dJe2XpAOS7v8W8z6T49DakaqkS9bpx8gnY2Br0/cxVyf5BPeiqNWeRinulLVvdlCqfS6x sDNRck6MSwxKfbi1alNSzjut6cK8+xaVc5zHUbIDF1ouhPY8cu4OqR8/dolys7jpfODB4kTP tFWzJuyt25gZsmZb61StoivfZdhwOaDpht+UlqM//U1zrkXGZyhpfZh68XxKp1f/BSZcKxYv AwAA X-CFilter-Loop: Reflected X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: F0EE040010 X-Stat-Signature: m4k8pgdfbqoqx8t71yj9dqwqpuakiqit X-Rspam-User: X-HE-Tag: 1708509002-462965 X-HE-Meta: U2FsdGVkX19qCWKvWTW6TdoNTOLCj2W9H4rM2csdRPyBa1RINW3clRUTOOuxDWezUsKeioJzHA55323oVs+p7cy8KuI7xOmX9e8pDFgoMHn7Khmk92ppQztWczwNJxIjfao5Na+8m2wBZBTo2cMeb8bwWEgXZMW8JJutUMwaSygXZR/wM0i8YvN10c00812rCwwCgRdqH9W6BcS4FacH86skf/cwSga1fP/KRDy+u7M5xy1VmSmnwQ4ZOWWiOTOHXc94aBd2gU/cBB+egjNgbVRYYqFDPHc4+exajgjDE6gwNS/dzE1WMO2nPwVTwrDKolJAabp3iJTRV64d36GBg9fMJxzAMbcXYfcQu/2tqEk+ZxdOXN4dAJoUWge3jZxIgkKxFrZonUMXPjKY/OPKPUf4nL0CJaK0Ha4JCFxjVDZiSS2CJtRDp3roiGVcdm/dS1Wf4U1BiwX7Uv5j2PktCHmkxGgwBqcDQpgWaULSHehl0OvBnvCDdJXH9I24gdQSE77Dmt7669XO3khJgeEbrC4aD33Kt9vQSCLlQ1hOT+Ha9pYsrmfRa9jpOnGEykLJmqoNWF95Bhi16FYPZXFmY2b7NU2WXjdjH63QACYQ+9yL5zDtyG3rWIf9abJx89ngR+OIOlZkzQ57goalowpbVs9GhI7hNMFNG+n0TGtp/f66qIfnC/QiO7+k3Jd/p28AsLcV8uXf4vcL2DbPx8r5PCjr8z0erZaLig+GWdwOMIx9N59FJd8lpyFCb8GT6SrpYjMJSrQh/uPvsYL46EOJ8N7lvU9fd2p3TgrLO1UdJWfUbLu3RaT+GmsPCDfLpNTh9s9ZFkdWTKaAFtv9L+g5g+mYQXQnaFlX289pfovNDjit6KKFMnwCv1aTO+CNXFIjJiMQeBGhA6MbHdKgLIsj46MB8nrwNYXUhfmfW+BzCzeOpwZmRaDB1RwFMb6L7GNVWnGUPh8JeMfuBD6/+Pe S7yOzV8Q bFD5VPA9inSl680s7SEaAsVz6cTgeEZUppRZQgWNP0/aAZsbSFqMhkxPLhY/OnAlemgRj 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.h b/include/linux/wait.h index ebeb4678859f..e5e3fb2981f4 100644 --- a/include/linux/wait.h +++ b/include/linux/wait.h @@ -304,7 +304,7 @@ extern void init_wait_entry(struct wait_queue_entry *wq_entry, int flags); struct wait_queue_entry __wq_entry; \ long __ret = ret; /* explicit shadow */ \ \ - sdt_might_sleep_start(NULL); \ + sdt_might_sleep_start_timeout(NULL, __ret); \ init_wait_entry(&__wq_entry, exclusive ? WQ_FLAG_EXCLUSIVE : 0); \ for (;;) { \ long __int = prepare_to_wait_event(&wq_head, &__wq_entry, state);\
Now that CONFIG_DEPT_AGGRESSIVE_TIMEOUT_WAIT was introduced, apply the consideration to waitqueue wait, assuming an input 'ret' in ___wait_event() macro is used as a timeout value. Signed-off-by: Byungchul Park <byungchul@sk.com> --- include/linux/wait.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)