Message ID | 20230821034637.34630-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 28836EE49AA for <linux-mm@archiver.kernel.org>; Mon, 21 Aug 2023 03:50:29 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 13EDE940018; Sun, 20 Aug 2023 23:50:01 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 07754940017; Sun, 20 Aug 2023 23:50:00 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D6CD5940016; Sun, 20 Aug 2023 23:50:00 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id BEBE794000C for <linux-mm@kvack.org>; Sun, 20 Aug 2023 23:50:00 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id BBF79B1AE8 for <linux-mm@kvack.org>; Mon, 21 Aug 2023 03:49:59 +0000 (UTC) X-FDA: 81146733318.27.A885970 Received: from invmail4.hynix.com (exvmail4.hynix.com [166.125.252.92]) by imf04.hostedemail.com (Postfix) with ESMTP id EDC494001C for <linux-mm@kvack.org>; Mon, 21 Aug 2023 03:49:57 +0000 (UTC) Authentication-Results: imf04.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf04.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=1692589798; 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=syMLHMIh3AU4jM/JQKBUxBe5GprwcS4Suh9CzVO87YyhDFoomp4n67sRFxBKfS/wed4qNK TGw/7eUQCcRLAg/0Kw8ikznMccCGpZhHVv432AbZ/QXpthT2wwPn0URNzQhHqW5JIDWp/7 2AQ34r0XUpstJzIH1AJpd5OgifI6peU= ARC-Authentication-Results: i=1; imf04.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf04.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=1692589798; a=rsa-sha256; cv=none; b=hixh1NNi2veDwgyU3ftppT8s/6HnmKxtuYqSiWXleeOl6/uHTWY6gKuTu1ge755NLM5lW+ nMcc9tr1SzVgONWL63dxScLhZU5nLYV0s5fcCSlSgMdNempYVQlmp+61IguA0UIk6etk3J 58HveMdrthKeBJzS+0m3BubDY8nywYg= X-AuditID: a67dfc5b-d6dff70000001748-1b-64e2ded6ac26 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: [RESEND PATCH v10 19/25] dept: Apply timeout consideration to swait Date: Mon, 21 Aug 2023 12:46:31 +0900 Message-Id: <20230821034637.34630-20-byungchul@sk.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230821034637.34630-1-byungchul@sk.com> References: <20230821034637.34630-1-byungchul@sk.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWSfUzMcRzHfb+/xzud/Xba/Iix27BleWafYcbGfDcamxmL4eZ+03FduVLO ZrtTkp5UWw9oVrHrekB+2RCXU4pKiW4JaTp5SE+Ui1Me7sI/n732eX8+r33++PCU+jYzg9cb YySTUWvQsEpaORBQGPK8y61bnLUBMlMXg+drEg3518pZaL1ahqD8hhVDb90meD7aj2Cs+QkF udmtCAq7X1Nwo74LgcN+koW2ning8gyx0JCdwkL8pWssPO0bx9CZk4WhTA6FpowiDE7vBxpy e1m4kBuPfeUjBq+tlAObZS647ec5GO9eAg1d7Qw4Xi6Acxc7WbjraKCh/pYbQ1tVPgtd5b8Z aKp/RENrZhoDVwaLWOgbtVFg8wxx8MxZgKEiwSdKHPnFwMM0J4bEy9cxuF7cQVCd9AaDXN7O Qq2nH0OlnE3Bj+I6BO70AQ5OpXo5uGBNR5ByKoeGJz8fMpDQuQLGvuez61aR2v4hiiRUxhHH aAFNGotEcvv8a44kVL/k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pBvzEBw6ug5BhpHnrJgcoXD0M8CvHoFqenpo4nJ doDYB8wMqSsUyL28txwxVb3hiFnaT2xFIeTqQw9FrnzzskQqPoGJ9O0MR072tlDkc0MDR56d H2JIZ0sutSlwp3ylRtRpE0T9olVR8uhP7yLj+3GiseoLk4Lq2JPITybwS4XHL9PoUcZ8sPD6 9eAYB/CzBFv6B9+NXEbzx8cLRV/q8Wgwid8gPC7t50aZ4YOEOqlv7EHBRwiPMhvof6UzhZJy xxj7+XzpwX00yko+XPja8Z7JQnIzGleMArRxCbFqrS481BATnRSnTQzdvTdWQr7NWA4NZ1ei 783rqhEvQ6oJiqhAt0bJqhMMSbHVSJDRqgDF9B8dGqVCo05KFvV7d+n360RDNZouY1RTFOu3 iVFKfo96nxgjivGi/n9KyfympaCuRDEItmRNrmuMyUgODntf4tCFkx9TlgVGdM+5tbs8cOeO S4eMnuV+zbd3zB1Y8qFybdCf0DvnI4I9m9eY2BnbuytcOJl1tdWv+sjG/3bmHe4ZaYscb3Vs Pbs083bmgsl3R+QO4/YXbb1dExWKnFfZXQendl6+Ps9xQrRPnW0L8WdVjCFavTiE1hvUfwHo Dif3LwMAAA== X-CFilter-Loop: Reflected X-Rspamd-Queue-Id: EDC494001C X-Rspam-User: X-Rspamd-Server: rspam02 X-Stat-Signature: qh3pak6embgydkqsi43qiqdjrh4ufzd6 X-HE-Tag: 1692589797-399500 X-HE-Meta: U2FsdGVkX1/RWwmjOiapr6PO+F4BpBG5NAGJyGpPl2YXw/ovh2GgSh9CnAA/L9bAUUBtJjZm/Qgc2tN2kdijyX2FeZTCt9yrGddCJiV9925Mx9+/vtd5bD8NfQKeUFAVK611oZ8Mx9m/MU709CKpqxdh8dA4TRanucOEydbypzxj3yeIOubbJ/S+jwo6t6r/UefUjSFu/3xzp3V6Zcf7el+Kl1iwYjrIol6nNbJ83vn/RyzDELnBtirsBoMIH9IUB/dY1XTZWPytiRCG4OIHwdEJfOow5fxewibqu7zdXqMsmuoQJISlpg3sPfLU7LVJSlbo0ilrLScUsOthcNRvzg8XsrH6QyHqN8eX+JXLmBGRCLK+GJ+swdpnEBYqEF6d02SQtbQeMycqdjerZClBioGGoxTN6hw6rBu8NcskeFbeyNVwUKjBEkkLBJaB2cLQQQi2gUDBpxHlDT/D5P1C6BeUPntffXBEYflUE81Szpkh8eIsi6DUwYEirAWYu/+6jgvLkEsV9jiwJi5EiHoZL9/atNr/U7iEO8vZ+ulkr5v+jeLx+lxpVNTgvpWazGr1HfEh6zE9HCqV3fnG7JqtaNcYJpORNr7q3yfSOuo+8ytablJIi7jtl5Wm6XNDlXd497MT91HaMdKJy3fuYK2eLOQyvbZ/kc2Y2GiM7VOK7OsGWR4Ya84IvaM11Tc+vEM7kHnNyxs2eiznx2TiKVJQ9U36v1BoN2mh08kTV/p00NxYKIMBqmYDFwMoZeDQVlDMKHRo6KVXmwMAcKz9R5uPRckuDWYQQWELhnriiFJhuuzUyP06XvJhlrAVKoOHqIJDO6mzL4eSspz4FkpdLvqbYq86e39gHuswXepA4+g1Ld/zkNpStqE+bMr79zyGtOQSv3XLCn/e6pZjGr36oUZFEu+1e2Msx0g3/0aYSb3pftrmqplMNosq07GJChiuvsuMrxhfoQ/JlREC1nZv8Wj r6KA2j+p 93BVXeyZZsCvn/53c/x5BTOFFY7mFi2qWYZF3d5EPKRpAzhVPTOq+CTtrQ3kFhoBwKPNQ 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(-)