Message ID | 20230626115700.13873-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 81DD3EB64D7 for <linux-mm@archiver.kernel.org>; Mon, 26 Jun 2023 11:59:21 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 93FE18E0009; Mon, 26 Jun 2023 07:58:55 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 8F9CC8E0006; Mon, 26 Jun 2023 07:58:55 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 51E7F8E0009; Mon, 26 Jun 2023 07:58:55 -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 2A8E98E0006 for <linux-mm@kvack.org>; Mon, 26 Jun 2023 07:58:55 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 070804069F for <linux-mm@kvack.org>; Mon, 26 Jun 2023 11:58:55 +0000 (UTC) X-FDA: 80944752630.20.EA35E85 Received: from invmail4.hynix.com (exvmail4.hynix.com [166.125.252.92]) by imf22.hostedemail.com (Postfix) with ESMTP id 23ABCC002B for <linux-mm@kvack.org>; Mon, 26 Jun 2023 11:58:52 +0000 (UTC) Authentication-Results: imf22.hostedemail.com; dkim=none; spf=pass (imf22.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=1687780733; 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=GVu9evvztfteD0uC8OS35NYTBgjDrGL/ofWfYToOkoc=; b=BvMhHbHty8CtPo9BS1blVSNS623I0/UApqLzTDWyHlYHfWPgIC/FGhnkbVJhHbCz1I8uYe UpRMMtZQiTMHamT1fN6DMWcxy9/xEz/SSDp5a+DuSYq1WlUY27a6UZpt/vdCld1tgJ/wCv g07Qi2pGGphWNO8KjxPwDmHg1wUsTmk= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=none; spf=pass (imf22.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=1687780733; a=rsa-sha256; cv=none; b=vbmQliqVae5EBc2yibiY891OOEf2i8ycbDm1uaPYjEylWPdUEnNsJi9rpxKx07HoQgqzHz eJz5WxA2j27dU1HnuApZbBXTQVomMNMLk4yc1RbhjfyrMAEEm39YV5o1jUd0Zkt3s7DDxx S8c1R/PtSrby+MRgDqYzshWCfo71Z1s= X-AuditID: a67dfc5b-d85ff70000001748-d1-64997d6d3450 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 19/25] dept: Apply timeout consideration to swait Date: Mon, 26 Jun 2023 20:56:54 +0900 Message-Id: <20230626115700.13873-20-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: H4sIAAAAAAAAAz2SbUxTZxTHfe7Lcy/Vmrti5p0aX2rIMhYcLOCOLxnGxPj4bmKcC0u21fVO mtFKiiIYMSB1VhRUFAqIWsrSEajTtXxAoA2ilDcFBgxQK0NgIgpC0DK7Ml3B6JeTX/7nf36f Dk8rXOwCXqM7IOl1qjglljGy0TmWMG1Kvjp8aHwlnDsdDt6XRgYKr9kwtP1WhsBWnkbBcN1G 6J4cQeC/20qDKacNQdGjhzSUu3sROEuOYegYnAud3jEMjTmnMKQXX8Pwx7MpCjy52RSU2bdB 81kLBTW+IQZMwxgumtKpwHhCgc9ayoE1NQT6Swo4mHoUAY29XSw4738K+Zc9GKqdjQy4K/op 6KgsxNBre8NCs7uBgbZzmSxcfW7B8GzSSoPVO8ZBe42ZguuGgOjplJOCn1+8ZqE+syZAv/xO Qee9KgQuYx8FdlsXhlveEQoc9hwa/v21DkF/1igHx0/7OLiYloXg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hARYrX9nHUSsDZb79psBtsXrp2i4Cu57UI 6s+9JsBS1o2h0TVIQKUli4Sf15sQ9GV8ZuDMBQ8D+UkZCNLPZFPQ/stOQ4ozDEZ+FODlCqFx cJgUUiqPCVa3kRIeFPFCTd4rRkipf8EIRstRobI4QDDVDRDC1a8uWrCUnMeC5eslRkj73EUI zu46LAy1tTGC4/IItXHmdolCJUZrYkVd8LJIifrD63WHvuG4pPovVCJ6QKchH5bnFvHvElvH GXPz+WfPPOQY+3Kz+UrDO28uYUnONJF/77jPpCGWncKt5K2pAWMbipvHt9tH0BhLucV8v8eO /zn9+dIK27jHx5vXPiwa38i4MP60swFfRBIjmlCCfDXa2BilJjosSH9AHa/VxAVFHYyxIO/f mE+OZlaj752rGxDHIvkkacisyyoZrYzVx8c0IJ4l5b7SqT9yVDKpShl/XNQd3KM7Gi3qG9B0 lpL7SdduFSNl3D7lEfGAKB4Sdf9bgvWZlohOrGrbVDIn1G1oOvzkrnzDnv3bFYqq6RPLTVXz sxL8a+qiKGvg3Ijfszbf6P+ozrAbOtW7wo/fi5jDvzncHmDIqGh8mXc/1m/NqQXlvcsmO76U 7l4wJFuqzG5K2FKxY3fydUe63O4mg0CxcefbhCV7kXbKy8LUOL/wPzd9t5lWRNQHyym9Whka QOr0yr8K6JCoMwMAAA== X-CFilter-Loop: Reflected X-Rspamd-Queue-Id: 23ABCC002B X-Rspam-User: X-Stat-Signature: hx1mfccfgk5ta9z3ffqz9kj57c8185bf X-Rspamd-Server: rspam01 X-HE-Tag: 1687780732-770486 X-HE-Meta: U2FsdGVkX1+SUSoC9gpnKNwh8iHxyVu4d3FDruJXzHStfU8h8dYNInjvtGebvbW7y//WiIiTx3yf87yXtg2EbK9HDL3tx0u8o5jHfs3Tz0DzZ3swz1F86CEy4lBMNh+WzXtwmel6w/IVasYB+J4Y3hJhS/zcyqlcaPmnjfjEowB0WmuK1JATByCv9SBcZJXpuabw2X9jsT1Pi/E7FmbQHanRYbMUIodujQwc9MZ1mlITdlDqGjIX93Hdr0uKDLP2l+pjeP64ke1UTAg/v3/qotwBGRh1QGA/UH5VCWDYIla+4jhzIhfdRy3yS5FeaDIzfM+uM5PKx0a+gStENKjjI/8XDU5TtfAqYdxGlbibcOLMIFjZ6H27334N+87YTZihykbvCh5jNR7LaAQ4pjBuq3EGcZe0NKl/WmF+UQs/ZtJitmuZdEp5fQYcPbspOK1qrSUwf1XgeoxTTgej5UJgG9uKoXVKFzq1Ae8t7GH4ZnKlDMFqy7NMj1lK13kLqKxhOjtQT/DCFT/LgQxnUoM4k+eEoSvR/LShD4s8SkJOqhgZBvuFFaRqIygDRzns8eHz+in5bdqHdy+9WHXmDWGwmyQ9yM8lCbJ5+UvybjWYul5X/o1cTAqOdKuFomFFYqHzeUXsZf4SWNvaacp+D/80UNQHsH24bxONL+TySgasmb/rh11PHeN3G/1pkFKhvdMpLxi9S0YECyK90NgOUG6rRua92dMvkvGq7CqUU3CpTrn3nHRT3Ybryj7++QCowF5l6I/BjR26v/fmQks0LGuvvnb6vkK7QM279/uk1WC+Hy6v9FSlWrIRFu6GB1MvlX6qX2na4TlZKiQubwYzMZEVe3vuWnhak7gRP5JBaIho4M2wvAYPEVtyp+9IbQUNnoW9/qLrGTOQIt/EJ5daytN+zhIQy/hZnTYAmsC6q8E85bDz32+2BVKyb9oHDzS3iHgRd9Cl+/fMB3TH16Gmsss /JdZsztx NdmtW82rReR4lsiEaEDy6qey3hEjwYJRmuKrQoVNVm31Arxah22dmvjaZkNWVhSz/vVwC 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/swait.h b/include/linux/swait.h index 02848211cef5..def1e47bb678 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(-)