Message ID | 20240124115938.80132-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 F1E5FC46CD2 for <linux-mm@archiver.kernel.org>; Wed, 24 Jan 2024 12:00:59 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 451628D000D; Wed, 24 Jan 2024 07:00:09 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 2BF138D0007; 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 0C3E58D000C; Wed, 24 Jan 2024 07:00:09 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id E96578D0007 for <linux-mm@kvack.org>; Wed, 24 Jan 2024 07:00:08 -0500 (EST) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id C075F1C169B for <linux-mm@kvack.org>; Wed, 24 Jan 2024 12:00:08 +0000 (UTC) X-FDA: 81714061296.14.D6A26DD Received: from invmail4.hynix.com (exvmail4.skhynix.com [166.125.252.92]) by imf30.hostedemail.com (Postfix) with ESMTP id D5AD280021 for <linux-mm@kvack.org>; Wed, 24 Jan 2024 12:00:06 +0000 (UTC) Authentication-Results: imf30.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf30.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=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=YVDDkQHFzxbFTiMkMkY+ZxfckVM+bAmVTqO//P5VhrQ=; b=duqXPtOIzm3aYRuFV/tQHT237HLP4v7VCh2WFkFyr3O6/zEBEqilRj2qV+WumD2/C0khvv +CiDKN8B+mJHxE9IQ9S1whkHFITni2G5boBqTDGJqf0MoFhlG32+LUGCSZmXlflZUhkK6Y SUPPxi/JlYslO3glNIofrCJ+yFsNze0= ARC-Authentication-Results: i=1; imf30.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf30.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=1706097607; a=rsa-sha256; cv=none; b=4Y1VfSbupU2tM27xAzFHt3ewcIiSkJJByYsvsbdZwqmKP0xq2MoNILB7l8Qmpg6YQDrIiA BRlVM4t6bK126TB/gQfz1fc3+P+P2ynATI6jq65jWxVp4xc5SalpJAJXnGWR/0pLcAS1RZ Q7C+VQerTgxKl9vAx8t58XFreHAi6qY= X-AuditID: a67dfc5b-d85ff70000001748-75-65b0fbb74679 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 19/26] dept: Apply timeout consideration to waitqueue wait Date: Wed, 24 Jan 2024 20:59:30 +0900 Message-Id: <20240124115938.80132-20-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: H4sIAAAAAAAAAzWSWUxTeRTG/d+91Zpr3a5iHK0xxl2M6FEZ48Mk839RSdSYqFEbuUojVFIU xC1VKjpVGGWmRZYQFlOaslpwLSUIAVoRrYK1VkDElQBC0BJrQYQaX05++c75vu/lcKTcRs/m VOpjokatjFYwUkraNylv+Z1Aubjqv+7FcO3KKvB9vURBdlkxA67SIgTFlecI6K7/G14M9SII ND8hId3gQpD3pp2EyoYOBHbzeQZa3k2GVl8/A07DZQaSCsoYeNozTECbMY2AIusWaLqaT0CN /yMF6d0MZKUnEWPjEwF+k4UFk3YhdJkzWRh+EwrODjcNdu9SyMhpY6DK7qSg4W4XAS33sxno KB6loanBQYHrWgoNJZ/zGegZMpFg8vWz8Kwml4By3VhQ8pcfNDSm1BCQfOMmAa0vbQiqL3US YC12M1Dn6yWgwmog4XthPYKu1D4WLlzxs5B1LhXB5QtGCp6MNNKgawuDwLdsZvMGXNfbT2Jd RQK2D+V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Q4Uli4KxIgeCnowBDo6d9nBw9WgGgrRjF2lo8D1hwNARAt6fOWyoktj7Byli qNhPqkZzafI0XyD3r3RyxFDdzpFcSzypKA4mBdZeTPKG3QyxmE6xxDJ8jiOpA62YfK2v50jt JS9N3rdm482zIqSrdokxar2oXbI6UhqVV11L7b3LJRSeaEdJyMCmogCJwC8XXG+c9F9m+flC W5uH+suB/FyhIv0jk4qkEoo/MVkoHqrzG6bxYUKyvdN/RPPzhIdWn59l/ArBk/KY+xc6Rygp t/n1gAn91uV2f4GcDxG6TWe4s0iaiyaZUKBao49VqWNCFuuioxI16oTFO+NiLWjiaYyHxzMr 0UjLuhrES5BiiizUVCbKGZVelxhbgwQJpQiUtc0oFeWyXarEA6I2boc2PkbU1aCZEloxXbZ+ uxgp53er9onRorhX1P7fYklAUBLaObi26L5t+MaWlj5fuG/ojONTyZBMWXkkP6Pj7edtallG Ibsw1BG2JnxL04YPnReYtsY961XfMvFGpzU8ubnOATeUmpuzX5zn7ButeuPdIG8cqVw5O2Qs LKJuZM6hH2AOHikd46W67b/7lI+2Hl4z7OsOOLgh7TkX2SvVP06OVtC6KNWyYEqrU/0BL/Mk kDADAAA= X-CFilter-Loop: Reflected X-Rspamd-Queue-Id: D5AD280021 X-Rspam-User: X-Rspamd-Server: rspam02 X-Stat-Signature: aeksa8brh9r9zk914g1koxcs6emzaibm X-HE-Tag: 1706097606-389835 X-HE-Meta: U2FsdGVkX1/bjOJRYv4fhrZ/resp3A/L5bgup035ZiGxqeUhJInKd93smmBZw8QO3u0VIA21c9AQof0Xr6MPjS8l2CzsOyHfcOSk8QNXdq5rUSlwIldF1C0lCJ3h5ssdV2SWLC1dRqAZr0y5vuQ8Y/kPLMfOfwcqw7MhirdtiMV+PQ8AjCXm4OBRP7I86yJTQm+gkUdoPJSWxv2MB9lJEU6YHbLBRleUfNY6sTTI2DGKnjNCHj5LIfPKCAP9+uioZLaSorqznSmX2biMVQC8Wb/m+2uj10Is6K9RO2AO+40IqqS7+AamDGpev8nDRl5pCeYtXaD4pWa6aPWXFhsv8uMNgy7sKWy+x4w2s3KfhvGGIkzGLitkxKuD5Dg9oGNY9A3QrHrF7ZZhlIF0H+l8b1J/D9X0S1BP/A+YUuECQEYi6D1e26v4d5TNx7t6/u0sh4dEmqqyHm3upl7skgMwMTLXKjTiPXfh3T05Qz+2oqdIoK56ghGflJp0YvjTHZUSwAb1CrxVPFBrbWtGDX6oLKAbkKj9VeIioXNJ2f4P2c7dr2dSQIqlj5wcNFPnhhbtQ2Z/k41UByTuNoC2JGgGOlj5wPdrVSvGM5Lt7sJzKRTgnr1ulkmJO5vVvG/xP0TSVqD+NNaJQAdj3RVAV2yilAHOax/9oqJyukgjlC7RD9X/Lk015PzZN6iYlyJ1HOuBHwPSdwyd+Zxu//SSo9UFf59BNszsqxhy1GlvuX/B73WkghA5FveFGhCblSIpTcOEOCvDCy0hcViutEuLG8DvHLd06BtONxlq/6e1AF8pMe45HmI676cItbFupyxyADwDQGfaajuzpOO0TCkDpqA8va9JbTW4qRbdkgjqtiycM4PoO21Ibn0vGzJL0fHzfukt1C2mMx7qIr/66kUCQXbNJRgCFnW9xwOk013Kw2fx3d701Ipn/A1JBgDu6SPtZIjIGf6JFq+gMTXNSO7jkhH DQGemSUV F2VROLe438Mm+uA106KDq0A6Sbu4ZNSeyw8LRjKRxIJoBqMGUygPOtzUFDEs1zo6vC7xi 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(-)