Message ID | 20240508094726.35754-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 DEB8DC19F4F for <linux-mm@archiver.kernel.org>; Wed, 8 May 2024 09:48:23 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 889C66B00F6; Wed, 8 May 2024 05:47:57 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7EC866B00F3; Wed, 8 May 2024 05:47:57 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6630B6B00F4; Wed, 8 May 2024 05:47:57 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 46AFB6B00F1 for <linux-mm@kvack.org>; Wed, 8 May 2024 05:47:57 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 04AC6160E74 for <linux-mm@kvack.org>; Wed, 8 May 2024 09:47:56 +0000 (UTC) X-FDA: 82094752194.18.927D74C Received: from invmail4.hynix.com (exvmail4.skhynix.com [166.125.252.92]) by imf09.hostedemail.com (Postfix) with ESMTP id 09F18140023 for <linux-mm@kvack.org>; Wed, 8 May 2024 09:47:54 +0000 (UTC) Authentication-Results: imf09.hostedemail.com; dkim=none; spf=pass (imf09.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=1715161675; 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=FcKVMntx7zjnzsrX9pkVQFvfgwA+sXtCFnTSeJlMh9yhhASPmbjKAfDqa8bqEGv4UT2BJC SsAJ+P4nvTaovQByeRA7pwyLGcDAGWzM/zTclmB6ngp7EbcNohH+tyKvKmvnqkGLYr093K t0uxCedTxSMjA23Zufsy92HDPCIUqv8= ARC-Authentication-Results: i=1; imf09.hostedemail.com; dkim=none; spf=pass (imf09.hostedemail.com: domain of byungchul@sk.com designates 166.125.252.92 as permitted sender) smtp.mailfrom=byungchul@sk.com; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1715161675; a=rsa-sha256; cv=none; b=LvRwYX7VvF2u52eOLaK9qMkvT6wzaaLrAEEPII4N32SVkoHV2gbBrr5IgbuPIC7Pxw6+3a NnAOg13U9ccFaPhokHvE8HZfAeamZ6PFeJsFZmx4SYJ6SWD8P0u/0ZWc68xdDie0NBVsAE DOCjFuR5NDCh4sTlpFjWLrVAkm3PYpY= X-AuditID: a67dfc5b-d85ff70000001748-38-663b4a3a04a0 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 18/28] dept: Apply timeout consideration to swait Date: Wed, 8 May 2024 18:47:15 +0900 Message-Id: <20240508094726.35754-19-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+93H715Hi8sMd5uFNYhKKS2sTg8iguoSFEVBLypHXnM0LeY7 qDTnKkszQ1emMR8tUUvdIiwfLcU32apRFmplZklOYbXV0rSt6J/Dh/M9389fhyVlFlrBqmPj RW2sSqPEEkrimFm8dN22dVFhmbU0XL0cBq7vFygorK7CYLtXiaDqfhoBI61b4bV7FMHE02ck GPJsCIo/9JNwv20AQWP5OQwvh2aB3TWOoTPvEob00moMz79OEtCXn0tApXk7dOeUEGD1fKbA MILhpiGd8I4vBHhMFQyYUhfCYHkBA5MflkPnwCsaGt+GwI1bfRgaGjspaKsbJODlo0IMA1XT NHS3dVBgu5pFw92xEgxf3SYSTK5xBl5YjQTU6Lwi/bcpGtqzrAToy2oJsL+pR9B04T0B5qpX GFpcowRYzHkk/LrTimAw28FAxmUPAzfTshFcysinQNe3EiZ+FuKNa4SW0XFS0FmShEa3kRK6 SnjhYUE/I+ia3jKC0ZwgWMqDhdKGEU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BSkeFUxNWPDGNYJjeIwUUmpPCbbx YkpoLeWFB4U9jJDS9IYRiqWTQm1FkFDWOEQIJV+8tCBVXsCC9CWbETJGOglhtL2dEZ7kT1HC QKeZ2L5gn2ztEVGriRf1K9dHyWJqBpJR3Fd82uwsp5NQK52B/FieC+VH7z/CPsbcEr67e5L0 cQC3iK/NfP93Q3LDMr68fbOP/blNfNpPifExxQXynnNpKAOxrJxbxY/kRP1TLuSrbtv/avxm 4teDo8jHCk7FNxgLmctIVoxmVaIAjS4+Vq3RqlYYjsUk6DSnVxw+HiuhmW+xJk5n1aFvHVua Ecci5Wy5G4dFK2h1vCEhthnxLKkMkDvPr45WyI+oE86I+uMH9Se1oqEZLWAp5Vx5+G4xSsEd VZ8Qj4linKj/3xKs3/wkZCpIDPsRGnjPPhBRsa13YiXvGryefqNn3lmrbjq7qwjfi4vsa6xL 3aXdsde8zHHIKFetY6XDiSGefJO79KV8/8YRJyN2601NZVmK+ri94d8jI8/WG3YfKLu2s+Ch a09AnmUhMvjbcuasXvZ2bkFrvkq2uGhig8nhb9na9/RTfbCSMsSoQ4JIvUH9ByryI5cpAwAA X-CFilter-Loop: Reflected X-Rspamd-Queue-Id: 09F18140023 X-Rspam-User: X-Rspamd-Server: rspam04 X-Stat-Signature: 4stc89ayisx5c9inyuh4s7fjypbag11h X-HE-Tag: 1715161674-610283 X-HE-Meta: U2FsdGVkX18d0IGF+mlNMM2x0f+OKN3kk4pK8YYdSC5+eICEGN0a8RfgJy6F2OyjuacTut+GQSAeIHe2j3GwmlN6viSjjqBY2+l9uq+pLZfpXdIZ5dim827JcWGlBNBsZdKiOP9lWc6QnXy+oUD6kIUBmemsGbGqxn1uejX8N+ZLCaHYp7FaF+XEKER2OumP/Q6q10QVa3Ify/hni8ipBtIUX/rPz3P5wD24UzRqBFJvbJUo455RHjaT3oBP/etOuQg5pTM4BIxQm5ia6WAX+jjMxyIQgVv5IXgXfXU3kTemuos3GVNytLBt79Ik+mXJ+K7gRFt6o5ayRCxGvkPw1Bgf5UgwpSDBFQLPzGLLiuS6e3hTlQMXlwOsYnfzU+RvnsF9irlPvNK6qi02zJkNACT772bxqMScGtXa4IaTLhrf4EDNX0R10KeyGmUc8zxm96MR+PhsIU31wS8LOPn+0GZVH6STyUbXJb9ZVa0T76HPYELFmaMi1zD0ipJEnAmPcszoEq/yRnG6dLscJ+VzCxBIcBVug6oJ6bRDPHDJA1/eDrEn17sJeHCv2+7qy2XnNoXF57lFK61ngc4zE8CgAsct6O4ejTfSq5ARgAdcErTcAPo+H5CVnWktq8SxNcvBc8/a8UFQ7/fUQQeBpWr/pLuub6472vla96CmkKYOjjVnWf3p+mm+JVJzu6lgrmr4RdIYpNXRbVpG/9uu10fuLIvqnk4viKdjxtTCp/jzKnTNw8pIOr4kH8SMYB5LUkmLwp/PyxsaAuHumm2gJPzNqv4heIxCoiY1/PZ+K7VcZpV4aMmXPCH0+lTTlg55L9DJ3WfBXwNnT+p9veSzv5d3yfAG2tebQGKjELWDxvN0hdhMjuK+xCP2PNLOYw80v4Ol51SqYkGw2XEQKkNxGnpADFYglz25Fl7opgkN8RgfzI/kTvYDCMW8zC3npjU9k9ZcNhWRxYnuV4nOkXFVJEy 1dwH4D0Q pOD2P2stDKboTjbCi0F5+akdfawys0lhRaXrXxeR8aymvQI6QTlqKZ+nSQy1pKVBAUWJ8 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(-)