Message ID | 20230626115700.13873-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 5FE3AEB64DC for <linux-mm@archiver.kernel.org>; Mon, 26 Jun 2023 11:59:23 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 325DF8E000B; Mon, 26 Jun 2023 07:58:56 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2D40C8E0006; Mon, 26 Jun 2023 07:58:56 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 127958E000B; Mon, 26 Jun 2023 07:58:56 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 0169E8E0006 for <linux-mm@kvack.org>; Mon, 26 Jun 2023 07:58:55 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id BF8BB80715 for <linux-mm@kvack.org>; Mon, 26 Jun 2023 11:58:55 +0000 (UTC) X-FDA: 80944752630.18.67F563F Received: from invmail4.hynix.com (exvmail4.skhynix.com [166.125.252.92]) by imf12.hostedemail.com (Postfix) with ESMTP id D3F8740004 for <linux-mm@kvack.org>; Mon, 26 Jun 2023 11:58:53 +0000 (UTC) Authentication-Results: imf12.hostedemail.com; dkim=none; spf=pass (imf12.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=1687780734; 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=H0MAQpFzxA4s5RXLatsmNiKyUne2G3ye16I5Y8qdGHQ=; b=5LfuyhOQmpHrW3AxxyFHSgrNREizgBzhlXq2/qM+b2cNbf+fVlR/lq1tOD2oUgXdCi5gwk jqVFlK/Jb+VpYSNQQBUPDEPyTajPScPgg242TOVZMrD3lD++YCP/CE8wMlkYhQ5czhlndF RL2dx0DvfBQj3byU1P9mi1mPDWFibqw= ARC-Authentication-Results: i=1; imf12.hostedemail.com; dkim=none; spf=pass (imf12.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=1687780734; a=rsa-sha256; cv=none; b=bD0vBLvdeO95fBCdqBjb53roGIFYBsuafxAUf3FEav/mR60tPZK6aoJkjWkSOPR3iQcGDA KpRgGUF3U9xBpU2LU374SpbFn2GRMy42ZZGwGfvNKKIS4aTpXvJg2JGqfpMhowT2HA2UQN VoksAyTevJeH0L5IJGuSwO7QafcV0Vk= X-AuditID: a67dfc5b-d85ff70000001748-e3-64997d6d0714 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, paolo.valente@linaro.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 v10 20/25] dept: Apply timeout consideration to waitqueue wait Date: Mon, 26 Jun 2023 20:56:55 +0900 Message-Id: <20230626115700.13873-21-byungchul@sk.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230626115700.13873-1-byungchul@sk.com> References: <20230626115700.13873-1-byungchul@sk.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWSW0xTWRSGZ5/LPqfVmmMlelSik0Y00ahoxKyo8TLRuOdhZlDfvASrPUK1 VNIiiNERsRoHxAiRAtqZlEsqAgq2qCiUYBEEUUElWEklUq8dQBRtBenotEZfVr78a/3f0+Jp ZQM7jdfqkyWDXq1TYTkjHxxfNF9/qFAT/cKMIOdkNPg/nmDAUlWJofNSBYLKmiMU+JrXw+PA AIKxex005Od1Iijqe0pDTUsvAmdZBoZHLyZAl38IQ1teFoajJVUYHvQHKfCYcymosP8G7aeL KWgcfc1Avg/DufyjVGi8oWDUVs6BLT0KvGVnOQj2LYK23m4WnD3zoPAfD4Z6ZxsDLbVeCh7d sGDorfzKQntLKwOdOdksXHxbjKE/YKPB5h/i4GGjlYJqU0j0b9BJwfEPX1i4nd0YotLLFHQ9 qUPQcOIZBfbKbgxN/gEKHPY8Gj6fb0bgPTXIwbGToxycO3IKQ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KDtdT2C uxlvCbBa2jE0evsIqLUWkDBy5QGC3px+Bk6eHWbgwvEcBFknCyl49quZBoM7EkaHSvGaVUJj 3wApGGoPCTafkRIeVvDC7ZIuRjDc7WQEo/WgUFu1QKhs8BBC+Q8vLVjNZ7Bg/ZHPCJn9bYTg bm/AwtenTxmhpXiU2jg9VrJKKapVSaJuyeo4Sbzx+wCdcItJLvOo05ABZ6IQludW8CPl/XSQ MTePf/VqmAxyKDeLr83+EMglLMlVjuc/ttxngsVkLob/3tkRGLEsxYXzhf61wVjKRfGNjr5/ zpl8dY39ryckkNc/rkBBlnGR/Am3A+ciiRGNM6NQlTZJo1CpIxfr98WnaFXJi3fv11hR4G9M qf68OjToinYgjkXyCdKIGcVKGa1I0qdoHIhnSXmodMpQkVImVSpSDou6/Tt1B9Wi3oGmsZR8 qnT9FjFOxu1VJIr7RDFB1P1vCTYkLA3FTlhvZtkCza51rs1HoqJjLh5w0TXnjmrndEXVDDab O9q3f54KL9GbnDHnpSnLX0/37dH7difEWu8ZjJna3Cuu+cfqw4qrrm6wvDclzvZ1zq2fsWz+ ZVmMbNuSmSNZYWO/G0pS3+2waOx14bu2ZWf8mr3s28jWtcuH8j3cppWTpC/j5JQ+XrF0AanT K/4AG6vq3jMDAAA= X-CFilter-Loop: Reflected X-Rspamd-Queue-Id: D3F8740004 X-Rspam-User: X-Stat-Signature: hhf6tuocn7dsso59qksej9j39jzxp3ig X-Rspamd-Server: rspam01 X-HE-Tag: 1687780733-697793 X-HE-Meta: U2FsdGVkX1+pRp6QXny0COcQ2XcaPVuKa54IZdaAKlMtAjlAzxb/wMULVdtE8L3HTiUoRT/933y5e7kZ4+2retWNX++GZr+gpWtXMJzpiQGWb9Jn9ZWI+70kGf7LymPZCJd5k9yJSC07jVROakN9aPCFTV11xhxyyxgVdHpjUyKOQC8gp3ytoFXjIpeo14oGJ6XRZyQJGD+98R0AguuebW0v8VCUz+balTh51yV8vWIxbZkbpKg6i5Wb/2rBCAtZvFz2OZddpJEvAJByt+24AYF5db4eXAIlIpdSf59n6FxSgMylnAl4JdLAPxrrUhlfCnylrXuyln7aN1D3aHXwm9iCJONtHwsx2IyzwZJjiQyJER0gEBTh381VtIOeZON8ujwSAMm/5hNJ856oQNG+GldrO0fVj3u5Eaw1rtQVu3LskCRYScgZ6zxdd7E1wdG6odNP2Z1xOikmBFFAms44/XyDcuHboAKq+g+pWrcGwvoDk2QG70egVnP5lSABcuaPuMcIS/pPn21vzNpsreVS7y+Vag7Qe+e0riPLJZ6XUdhLwAabxX3xslfsNT1z/FVt2FGhhS0w7uOyacDGYBaivC2LaO6RFsdEMX50s0v4gAnOZ8Uy/0jlNpe3d4H7SDsNmDV2B3d3TBCZpxh5OBr2WWWGyCNFZJEebmULFTDgIS5dFQXnEvfbsL1h83hiSHg21HzYRtVvwJD1X8oSiDDrV2JNl9T2pAcVu0ae1/Ucx6aZxGTyBvGLt3FHt5VB+k0ffWXBKBvI9JVq6Os7TXC+Woz5pvTvAv9kL62hDyVnvAehoPKNAKHgQIEudcGRaPNvFowFS+XTY8zJj3QUOc1GBDl4dH48ltdT2lbSN1k31g85zPB31A4N6y/VuqoAXO/1zCQ9oM6ns1FLaUiie3fjO2LLzw+b1o5VWeGrN6BbZSm/LVpLR+7B3lH/6ez8Sh/Szd+XTpn7TneXaBIY2dY Mmp69X0j 7Y49bcIzFAWEYmRMnoiPVO1RLeuVuGuPYwDM0KLG/1mHOXQfXGhLsXCIXDI10WsBSVMFT 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> |
Series |
DEPT(Dependency Tracker)
|
expand
|
diff --git a/include/linux/wait.h b/include/linux/wait.h index ff349e609da7..aa1bd964be1e 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(-)