Message ID | 20240306085513.41482-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 6C58FC54E41 for <linux-mm@archiver.kernel.org>; Wed, 6 Mar 2024 08:56:18 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BC6F86B00A0; Wed, 6 Mar 2024 03:55:45 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B4FAD6B00A1; Wed, 6 Mar 2024 03:55:45 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 92C046B00A2; Wed, 6 Mar 2024 03:55:45 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 6DC236B00A0 for <linux-mm@kvack.org>; Wed, 6 Mar 2024 03:55:45 -0500 (EST) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 37628C03B5 for <linux-mm@kvack.org>; Wed, 6 Mar 2024 08:55:45 +0000 (UTC) X-FDA: 81866006250.23.2780118 Received: from invmail4.hynix.com (exvmail4.hynix.com [166.125.252.92]) by imf24.hostedemail.com (Postfix) with ESMTP id 766E6180002 for <linux-mm@kvack.org>; Wed, 6 Mar 2024 08:55:43 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf24.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=1709715343; 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=YVDDkQHFzxbFTiMkMkY+ZxfckVM+bAmVTqO//P5VhrQ=; b=c7R4gRlUGl+OjN66gkyn/W7O3QizhU4PGF/QXm95zI9IltkfqVof7cyzIrh/AGYXokElvN 11Mfy5xHiijA5s2YbIK7XLAkSIy6bzgT6Qc6mchGsLTkL+I2BweNCNLjNODG/auOxC0xmb eX0OOHKuesAI/ixNhJX906Zkg62VVfE= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf24.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=1709715343; a=rsa-sha256; cv=none; b=pyG5Z4d59UzIu9NiX/nABX0O7Z6vlK2/TiE2vv1m0mGy9BcqIYrNgyiEOjMTGuLg3sfyqB zC/0oNdWYYryvKMx9YZoAFoGGAQNPn4KmwUFxYIZR1NBKBm9yxSLyPpejGOOsFZPfZhwhz 4eNdteTxnytXKP8V+1FDr7ZTQrXnC1Q= X-AuditID: a67dfc5b-d85ff70000001748-58-65e82f7e1343 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, 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 v13 19/27] dept: Apply timeout consideration to waitqueue wait Date: Wed, 6 Mar 2024 17:55:05 +0900 Message-Id: <20240306085513.41482-20-byungchul@sk.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240306085513.41482-1-byungchul@sk.com> References: <20240306085513.41482-1-byungchul@sk.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWSfUzMcRzH+35/j3ccP1fmpxi7aSzTg3n42Kwxk69NxvzHLEc/Oq7YnSIy pQuVHkQX1bhLO7fK04VJDzu1npj0NJKKWh6aq4hr6hruMv989tr78/m8Pv98eEr5iPHlNTHH JV2MWqti5bR8eKZ5xdmgL1JwkmsGXL4UDM6fF2kovFfGQuvdUgRlD5MwDNVvgTfjDgSul68o yMttRWDu76XgYUMfgmrrORY6BmdBp3OUhebcdBaSb91joe3rFIYeYw6GUls4vMguwmCf+ExD 3hALBXnJ2F2+YJiwlHBgSfSHAWs+B1P9IdDc95qB6u7lcP1GDwtV1c00NDwZwNDxtJCFvrI/ DLxoaKKh9XIGA3dGilj4Om6hwOIc5aDdbsJw3+AWnf/xm4HGDDuG88UPMHS+rURQc/EDBlvZ axbqnA4M5bZcCiZv1yMYyBzmIOXSBAcFSZkI0lOMNBh6VoPrVyG7YR2pc4xSxFB+glSPm2jy vEgkFf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nLk0xkLeqQwEaWeu0qDrCobxH/lkdYhQM+iiBJ31qGAb LaSFl8W88Ph6NyvoqjpYodByRLAaA4SSyn4sFH1zM4Kl/AIRLN8us8LFoVYsDDc2soLj2jgt 9Lbq8Wb/HfIV+6UodYKkWbRyjzyyqMpBxT1gE0vPdaAUpCMXkY+M54L4O65O7DXh5vLv3o1R Xvtys3hr+mfGa4oblPOljWu9nsZt4h++z2S9prk5/JCzGHmt4Jbyxq9G5l/mTN50z/43x8fT zxzO/LtLyQXzr1KLSBaSF6JJ5chXHZMQLaqjghdqD0cmxagTF+6LjbYgz7sYTkxkP0IjLWHV iJMh1WTFap8+ScmICdqk6GrEyyiVr+L4z15JqdgvJh2TNLG7NUeiJG018pfRqumKddulPUru oBgvHZakOEnzf4plPn4p6KQYXRDWvqZvin5SeIBj/tOyypDIJkeftHPDLecVe4Ttc9Wy9U/2 ZuwyW+PKbmZdc22/3bCODX0eSrY2Bj1LCxenblmzoeDDs87jESMVvf6rZuQ2X1hvemlXJX4q C42PHZg9zxRU4Aw8EPijsyG52/mpZEa7NthyqDY3YptzegROXquitZHikgBKoxX/AKRsMwwq AwAA X-CFilter-Loop: Reflected X-Rspamd-Queue-Id: 766E6180002 X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: 13eda6dprywagwj5fyy8sf883u6pw4cs X-HE-Tag: 1709715343-513364 X-HE-Meta: U2FsdGVkX180SNXdN7wRpRqGhd/HJfa0ePi6P1ezoPpT/eAhAsnuITE39PcOS8JEMLI7yfyRQt6P5YhYS6XgxVXRp6BREzfn2zZk2BJcH4l/K6UVH4ctR69nnkRbttc8Kuw3pnqPxLRKZc1SkPCxlmiS60C+/3Q4vsw4ZJSvac8PksMtyF+7ThBANGQrZNZRCR79rVf+E8dGy5/uXjfJpL/6W8JVPwhYpxEllxihf300P7++x9VQAmWk+f98CgAr+OKJqYUhkWVbaa//986/5OQxv16xe8J49ANKxOC0aATiozb9I6xafubp8h92AMIgH1XONE0Gw0GH0MUPPYQI1JC873/XKnJbsWjPaRFOIufLUcL3kRmdRLcsOQnHJa4MIGZzILpydV2SYuZUExc+bauioXyINSzJyMfESBJKSYu1nA4z8vcHWe1dq3RvxQD9Fw9XXis6rycSaz93bUAvyfPgIVQhg1Ntal95pSdqaUT4uH/W/LSXm9jWcAaZ9guOA0b5HNOsLkt7WYoC/6hW49t1CtAtbs5kHOqc7bc1sX7UaDwagztRRYqWhSs9dLhZFUD5GHGNrouGirBmqwTkYOUdWONE2Fi9MSujfz1M3+mlH9lfQP7BvrOuH7eRYBYsoXGIp68ISvex9cjzDAmxT8RSVceib+pDVCIP+6b81r08teu39yr0Pqr0RKCcbLWCn/KhRPI5gc8o1FDi52IgNL5PiMQVwhxDZGeh74sSmXjD/m3WZWjwW3qeMmfzBEmt8MgZEZKTgITPADSULqVIvA== 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/wait.h b/include/linux/wait.h index ebeb4678859f..e5e3fb2981f4 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(-)