Message ID | 20240306085513.41482-19-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 280D3C54E49 for <linux-mm@archiver.kernel.org>; Wed, 6 Mar 2024 08:56:16 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id F277E6B009F; Wed, 6 Mar 2024 03:55:44 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E847D6B00A1; Wed, 6 Mar 2024 03:55:44 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C38CE6B00A0; Wed, 6 Mar 2024 03:55:44 -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 A30096B009E for <linux-mm@kvack.org>; Wed, 6 Mar 2024 03:55:44 -0500 (EST) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 84A321601D3 for <linux-mm@kvack.org>; Wed, 6 Mar 2024 08:55:44 +0000 (UTC) X-FDA: 81866006208.03.7B06AA8 Received: from invmail4.hynix.com (exvmail4.hynix.com [166.125.252.92]) by imf25.hostedemail.com (Postfix) with ESMTP id C6DB5A0006 for <linux-mm@kvack.org>; Wed, 6 Mar 2024 08:55:42 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf25.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=1709715343; 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=UGkObL7oD/K2bAkUVhXxAs7YoFHUnPDSWQxkr9+NXKk=; b=DNLUHpb5HKchDep0+ynbaR/1yeQDJdAFgcQRkjQaLLymW7wm+q7WcTyM8bo+GYcnBSFh+f w0hii8IFZC7BXR5MWHhcDvFoELl4xOyJNLRqzLH1nYJ40U+7KpsZMRTwso7ub8V49gZfCn McODK2z8pTbKZZvp4rO9TMS3jnthSb0= ARC-Authentication-Results: i=1; imf25.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf25.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=1709715343; a=rsa-sha256; cv=none; b=XaBSJSIy6y3EtDKiYTESfYe3vIJGMv4f7lu2X0JI1U02M5OKi+LZJTk707U20+w+Z5QZ8s 4zTjNmcHb6KUzquggKfklT2UMBfb4lTDFANWrF8awFmkIXD4qph8qqIfLRtqt7o3JWzlwh ucGhR38VEVTL5s4s58A/gvW3towZTQs= X-AuditID: a67dfc5b-d85ff70000001748-48-65e82f7e60ef 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 v13 18/27] dept: Apply timeout consideration to swait Date: Wed, 6 Mar 2024 17:55:04 +0900 Message-Id: <20240306085513.41482-19-byungchul@sk.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240306085513.41482-1-byungchul@sk.com> References: <20240306085513.41482-1-byungchul@sk.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWSXUyTZxTHfZ73sw01b4qJ7/BCU4Mk6hAUl7OEEEycPBeaGIk3aNROXqWx gCmCQtwEKYQVEMXQqiCBipVAJ9AyFbGmtqGCRMYGccwgmaQROvlQoMUCbhbUm5Nf/uefX87F 4SllOxPBazLOSLoMtVbFymn5ZJj52wvbxqWYm/couFIWA/65EhpqWqws9N9tRmBtL8Dg60qC vwITCBaf/06BqaofQf3rVxS0e0YQOBovsjDgXQ2D/mkWeqpKWSi81cLCH2+XMAwbKzE02/ZB 72UzBmdwjAaTj4VqUyEOjXEMQUsTB5b8SBhtvMHB0utY6Bl5wYDj5Ra4XjvMwiNHDw2eB6MY Bh7WsDBi/Z+BXk83Df1Xyhn4dcrMwtuAhQKLf5qDP511GFr1IVHx7H8MPC13YihuaMMw+Hcn gscl/2CwWV+w4PZPYLDbqihYuNOFYPTSJAdFZUEOqgsuISgtMtKgH94Jix9q2MTviXtimiJ6 +1niCNTR5JlZJB03XnFE//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59vtSAYvPiOh3P5QR6Ksy8iuHCuiAVLnw6m/ishW3+h zWMTDLV4TtH6yVKWdpRL9N71Vzy1NPTytNR9knoqV9GK+35Myz4EOOqu+oNQ94crPM1758N0 vKuLp21Xp1g65LPhfYtjFZsMcpIxXTZFbY5XJLiGslHaR5Jha7FzWaiDy0MhgiSulzpr7pFZ JmK49OJFkJlltbhM8liH534YcUwh2bu25yFBCBVjJH/xgdmaFcOkfE8bnmWluEGarC1kvyuX StU1jXOakJn+0vilOb1K1ElPcsrIZaQoRfOqkNqYkp6sNybpIs2JCZkpxozIo6nJbjSzFseZ 6YK76JN3RxMSBaRdoNwa8kZWcfp0c2ZyE5IERqtWnv48JKuUBn3mr7IpNc50Mkk2N6HFAqv9 SbnrkByvEo/pT8iJspwmm/6/YiFEk4Uipm+kRf2o686N9/deW7Ypltv2uPuI8/VrO7v+97r5 4fk7UfOG7AxvqE/9dngle9b1Rb2iJ/Vg4vCSmNVShWzYrNn9MKxo+fO4mB+O26fiLYtMh2n3 A+vB1dvzNO/3rtjo2m+IvGU9FO3tiH77ONgyMjDCb3GH6radWjd/XDN6zFCgZc0J+uhVjMms /wZTd+HgKQMAAA== X-CFilter-Loop: Reflected X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: C6DB5A0006 X-Stat-Signature: 1zbejhzwdq1fumfnn8rsa5yggoqd4koa X-Rspam-User: X-HE-Tag: 1709715342-892956 X-HE-Meta: U2FsdGVkX1/yLk0zq2YYLJrsH4Zk/Kfj88wKa4eW8LW+mJWUg0647IxFaARMJ/bO5HWSfMLeUBkR1c8kTHVaF1LByK1A1vettQTmh+2fYMhUTPbzUTuK+kOVqVA3cpIZAD5YweNbUsN+ibLVrQG7YSu0blQP/UPnh84eaJ/ZhupxOcowyJhpZb2XwGar8h5hZgmm1zo+f8NobDE3kMKdfBPMDc8dCTxcSjNW3k5QCuZ65pQpwbHSQpRPiDhIKGJkwG6+2XjnnK4s+W8mtkvc8itqPgRt/HPdU6nBnuTplbKESXahWYvBfFEKBgvUIO8C0LEq/IF/gMu2iXzmtB3aYa4ZY22IUEAmhTl/Ys7s030OMxWPXILulOKMsx2JrO9jJ+gxzOwjm8Vx5ozBok27Qjr+cqExzNbWsohlRQKewMO5uNT2eVapbmk3GSAuVEAQuHK+2xgjg/fA1FkKwv5P8MLZuJKq/5hzdXRi4odwm4ZQ6B8/Xfzf4x3iMBrRg3NXudToVMmuNkvuRujHzJqv/mTtknv5RrsO143Sw635PIHqEqh8d/du9z3FM3u/fk1ZRZpX1YsybflYDxCDDB8Dz5GFC/ThCqg6ykdL0zFRGJVAj0y+yd/Ou+CWjqgfuMV4En5qgmdpo7zeT/Nso2nIj+9VOpka2Vx7FahEYHXvwysmEpLES6+uUpnx6oJZTuLt7Yr5KjZ6DAU67DnJMV0KiJ8WZUZc+J8A2/k9LjKHKgt/pokDeAUw1CQOwBlk0cf0tf93aj55JItrdIflJg4d9g== 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/swait.h b/include/linux/swait.h index 277ac74f61c3..233acdf55e9b 100644 --- a/include/linux/swait.h +++ b/include/linux/swait.h @@ -162,7 +162,7 @@ extern void finish_swait(struct swait_queue_head *q, struct swait_queue *wait); struct swait_queue __wait; \ long __ret = ret; \ \ - sdt_might_sleep_start(NULL); \ + sdt_might_sleep_start_timeout(NULL, __ret); \ INIT_LIST_HEAD(&__wait.task_list); \ for (;;) { \ long __int = prepare_to_swait_event(&wq, &__wait, state);\
Now that CONFIG_DEPT_AGGRESSIVE_TIMEOUT_WAIT was introduced, apply the consideration to swait, assuming an input 'ret' in ___swait_event() macro is used as a timeout value. Signed-off-by: Byungchul Park <byungchul@sk.com> --- include/linux/swait.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)