Message ID | 20240221094933.36348-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 79662C48BC3 for <linux-mm@archiver.kernel.org>; Wed, 21 Feb 2024 09:50:32 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BC66B6B0099; Wed, 21 Feb 2024 04:50:04 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A61796B009A; Wed, 21 Feb 2024 04:50:04 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 865FE6B009B; Wed, 21 Feb 2024 04:50:04 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 73E276B0099 for <linux-mm@kvack.org>; Wed, 21 Feb 2024 04:50:04 -0500 (EST) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 4F859409CA for <linux-mm@kvack.org>; Wed, 21 Feb 2024 09:50:04 +0000 (UTC) X-FDA: 81815339928.06.5D36903 Received: from invmail4.hynix.com (exvmail4.skhynix.com [166.125.252.92]) by imf27.hostedemail.com (Postfix) with ESMTP id 786484000A for <linux-mm@kvack.org>; Wed, 21 Feb 2024 09:50:02 +0000 (UTC) Authentication-Results: imf27.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf27.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=1708509002; 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=LGWRNtfvxGTQpzingpeBne/Q4bhWUzjM72gRjxtJRVMYWn7T8xvX2/HM38FrXGgdKWguQ0 oK1lfu9MI6WYNW333kU5MOZMSplv0RqF+77h9blYEPKxhPcVJ+Mty1hToJ9vzncLgo1frM Ohsc1xxaswVoCUNXnxvXrD6lLXSybhU= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf27.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=1708509002; a=rsa-sha256; cv=none; b=D3NgR32tPWb/oV5P3s04xGsmLpnp+6wHbLOg5BmkLGZJTwmtwGFy1I0zQQWwJJMy7ONoSj taBSU1Qdr7aGlhxPuE7OBqNFNahNXvBrBJNhVm7XdqjxJKxnMtsKn05D83nkhugPsms6tM 9N0rC+EhvmAeWHtHHXUf3V2mwu5qVVw= X-AuditID: a67dfc5b-d85ff70000001748-a8-65d5c73ab21f 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: [PATCH v12 18/27] dept: Apply timeout consideration to swait Date: Wed, 21 Feb 2024 18:49:24 +0900 Message-Id: <20240221094933.36348-19-byungchul@sk.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240221094933.36348-1-byungchul@sk.com> References: <20240221094933.36348-1-byungchul@sk.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWSW0xTWRSG3fucs8+hWnOsTtxqjKbe4oXbjJglMeqLcUdj1Jh5wWS0ygl0 hlvK3WgsgjcQIiSlCqjc7FRgBAsyOlzSgXDTqDAUBgwwSIgOsQUFS0QQLRhfVv7861/f/7Ik TvNYWCnpI2IUQ4QuTEtUvMq1qNA7sKVL8at68BNkXvMD94crPOSVlxFov1+KoKwqCcNI0374 d9KJYPrZCw7MpnYEBa/6OahqHkBQZ71AoHN4MTjcYwTaTGkEkovKCXS8ncHQl52FodR2CJ5e L8Rgn3rDg3mEQK45GXvG/ximLCUiWIwbYMiaI8LMK39oG+gWoO7lVrh5u49AbV0bD82PhjB0 /pVHYKDsiwBPm1t5aM9MF+CP0UICbyctHFjcYyL8Y8/HUJHiAV2amBWgJd2O4VLxAwyO3hoE 9VcGMdjKugk0up0YKm0mDj793oRgKMMlwsVrUyLkJmUgSLuYzcOLzy0CpPQFwPTHPLI3kDU6 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PLmV AEtBIwM2Zw8BRZZ0Eobv2BG0Xehl4dT5IRYMCRcQnDt1hYKakSoakpoDwfUrk1mzAtt6+kic VBSDywaNFH6ZJeAnGZ9ZnFT+kcVGixYX5c7F2aWdBL7V76SxJe8sgy39aSxO6XUQ+Pvbtyx+ cdVF4XaHntjuv1sSdFCMUEaL6oWrQiRhhe0J6PAAE6u359Dx6CWdgrw4gV8itLbGozFm+NnC hw9D5Bj78DOEotSvno6EI/kz3kLujzdMCuK4SfwGwZ0+dQwpfpagS9WO1aX8UqG37hH1Tzld yDdb/2q8PPldQ8/fUzI+UGioe0heQhIjGpeHfJSR0SqFMiJwgSY8LC5SGbvgQJTKgjwvYzrh 1pWgn/XBFYjnkHy8NOyxQ5TRimhNnKoCCRwp95FSMZ5IelARd1RUR+1XayNETQXy4yi5r3Tz TjFExocqjojhonhYVP/fEpzXlHiUuMxuG3zNn1WZr0/0PjSnyxj3PCMmfBc/fGxvoSEkSFd8 Jz9oh7ZqpgOjhgDzqPVu077W4zW3NyVvK/XdQ9Mjq7/G5gX6l1+MjXLpbCrZWtc1bnil92Xr tPUnmi7aa9fd/J0yogkIWn/ULzh8wmUxZGNOWpT2k3my6OfuCB3dskVOacIUi+eSao3iD6uF AVEuAwAA X-CFilter-Loop: Reflected X-Rspam-User: X-Stat-Signature: knjdk75os1fhfubtjfunhfdjcthsc9zg X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 786484000A X-HE-Tag: 1708509002-316424 X-HE-Meta: U2FsdGVkX1/M/dVbKxuf7n02dNoIrNZcGy7nvB1jUiP2dYzVTqVdUvu2nCPqax5VtJ6UZc6kiG5TKeoRk9gWL9cQyzRRPFI80f+VwL2xRRj0qjuktLHpc+KMJbuIuhaNBlC3+5sZ3s4ye1NkDhilyFTMAHKPXiG6MjGSYysgDE+k7qVk2xX1okrzO332/B37On1yz3n6EJFdOzuQCXayMiLIkdcKzy6FtPXQU8urJ2xooo+CmjXk5c+WvJ79yPGfo5JptnXBnJse+T8AEy98D2GT8QULu+Jtkk+iLn8Jg0ryFL2/9etmTTY1GSe3kAusWphzQ3J06nxXg1mUAqsD7qN7YLOCFxHS+Lr7+MYysCFefnRqeg3mdnen/IW/jyUK4VQQ4yoLJ4COi6Ggg31brqZjwew/D+Lt0u9R6UAk/NZiEO/zBFnaWI+wO0zi/MFlTGbhfxB0YXoysPIhtejxJq4Xuvc+7kH85grxFafnam/TbrIMx98ZtbhV9arGYNuqRbmFM2WPxWWFP/4RGmP/Qhm5AaHWsWkZRfxdEHy0Uc/eAjqrX36Jgu87JHKvEAGMZXBm1HI20aSKPsYz9eXzryEelfkRLsSFIB95U469IOhuvY5P3QCvhQAPGI9phM2P7NUCZwdeDJMiMAxZmps+/WZz6S+pUL8ImJyWKoiaInQQerjQyYMTDGtv+hwwKIfZCnw19W8LOhVV202jICQ5SBzuevdi17qZBpy1NuDGplehb+Ut83a9qjr1F/GPM31HIGJ7T22bN9laqnJLmd8zswK5D5HRttviRGVMin/0UqqzyLdNX9JsPggHN1l+HIw/s+spaKLUH4/dg8syLt3DviFRNL516WYsBS7DkGARiLXlitVkA7td4KpLH9lRgqZEr9/K7ViVzCLbqmNPv+VuyLN7hOkLL46tUoCy/75DXaGZGpenKD8hHNwIOfsKBObw075QTDD9nl+IlO9LiS1 x7G2z80u FuR0PVMKnJarKN2+dp0qKWLUAn/KJNE30n/BoQWYI6ZZM7Z1TKknoXDQ1wFZeG/ZVs82s 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(-)