Message ID | 20240124115938.80132-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 A87E2C46CD2 for <linux-mm@archiver.kernel.org>; Wed, 24 Jan 2024 12:00:56 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B74508D000B; Wed, 24 Jan 2024 07:00:08 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B4AFF8D0007; Wed, 24 Jan 2024 07:00:08 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9772A8D000B; Wed, 24 Jan 2024 07:00:08 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 86C838D0007 for <linux-mm@kvack.org>; Wed, 24 Jan 2024 07:00:08 -0500 (EST) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 4FE21A0C3B for <linux-mm@kvack.org>; Wed, 24 Jan 2024 12:00:08 +0000 (UTC) X-FDA: 81714061296.23.B0CD76D Received: from invmail4.hynix.com (exvmail4.hynix.com [166.125.252.92]) by imf27.hostedemail.com (Postfix) with ESMTP id 4046F4001C for <linux-mm@kvack.org>; Wed, 24 Jan 2024 12:00:05 +0000 (UTC) Authentication-Results: imf27.hostedemail.com; dkim=none; spf=pass (imf27.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=1706097606; 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=dZ9fijGRx5Pvvf7itQoE0QxGJYE1f5liKgyW4BIv09iTchJK1frs94iR/yVZ7ixojJv43p JhN6hEoMSEb+pFvKYGSDS47zUQE0mMe7qqrky7Ux0KH5a102/+SLhocCbRPjNof1ljnczK B9DSFwG3pkOUHICS3TwTWLfv4irL/0Q= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=none; spf=pass (imf27.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=1706097606; a=rsa-sha256; cv=none; b=60NYh4/Di4TG1/gJ2l8kuHzc+28cPqN+nbf5i8GDod7qpIGIdjzxuuukuE/DJXYaTsZbif kbUW4gff5U0kty2gOuxNC2fLOfupsze6dDNIAyMUzyqeOdITQX6QLNtIzopIjmcxIRros+ ki3yLA+YZ4GaF+6I+nLAIi7+bdMr4ok= X-AuditID: a67dfc5b-d85ff70000001748-65-65b0fbb6c9f0 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 v11 18/26] dept: Apply timeout consideration to swait Date: Wed, 24 Jan 2024 20:59:29 +0900 Message-Id: <20240124115938.80132-19-byungchul@sk.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240124115938.80132-1-byungchul@sk.com> References: <20240124115938.80132-1-byungchul@sk.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWSa0hTcRjG+//Pbc4WpyV1Vh+qYRRWmqLxEhESVCciCiKJImq0gy6nxUzN otK85qWs0OWFcCZrTG22WZppLEXTorSSWjZFzS7ipuWauGbWNPry8uN5n+f59IgI6WNquUgV f0bQxCvUclpMip0LdRsbvHXCptyS1XA9fxO4f+aQUG6qoaHnXjWCmvo0DKPtu+D9lAOB92U3 AdqiHgS6oX4C6jsGELQYLtPwdmQR9LonaOgqyqMh/Y6JhtdjMxjsxTcwVJv3wovCSgxWz1cS tKM0lGnTse98w+DRGxnQp66BYUMpAzNDodA18I6Clr71UHLbTkNzSxcJHY3DGN42ldMwUPOH ghcdnST0XC+goHa8koaxKT0BevcEA2+sFRjqMnxFWa5ZCp4VWDFkVd3H0PvhMYInOYMYzDXv aGhzOzBYzEUE/LrbjmD4qpOBzHwPA2VpVxHkZRaT0P37GQUZ9gjwTpfTkVv4NscEwWdYkvmW qQqSf17J8Y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aQB5H74mAQhO+A3LD+Kgt/AaxLVsxdE0Mt+VulighwlcRyb80yvwBvNPb/27AEkstb70z5AEGywwI63R33jRmNMTgdFhapJmyTwbCkLPaCbIRO7zB5Cjnz1n/oO/KMhaClPi13STU1LmwbYTIQo5ME0uYMhshyOwq5kFjg+3di7IZ9KvQPjrfUe/QQfIiMocyTTI16AsEo2CjU1NQpqtGYGI7J6NzoEzQ5jFaXGgqZvdQnp0vMgGlvBkwKQRB+MrkzTgOpLB0Xi1+wAkZNVF7oP3HqXmNomszsMcjAYC0kn3CpzzRMPQbRpPy/MVk0mpMDLeKK/C4rjbujwue8/qE4zeZrSTkO4IxE5tI/lvQ/is0dh7ILAdKFV5YutsdQsIByMNEES7rqheJi7PXkaZKmauV3ediD1DJdALdLVoIuSlDI2CRKNnXohBI4piXfIQGiWRl/fqiWE7WgHhbhzcmu2wQX+hkzZNfdIH6o72cuYP7B4W0oVvkijxMtGuXPYwHZ1mKCdd+CdQajQxu6khpMV4gQeNdXN9MvjQfYV5Fe8anOFYM6dsWypdYVZlyKeHEUET+VQdqbFV2saS3vSrOaAcv/7vn0dxwLJsHq60nV/97/lPd7E6ALL1/b3C7LruntRd4Yk4y0pqBuBzS+dOrBkS5SzUi9KsqrZI+mOV qpingVQx K+M23xEo0OnIwWT/lWEUdsOCQ1yjn2bDB4RsRLFmtVqv/l+CYwZ/pzjSlkTCk6djI+JX9 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(-)