From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 EFFEBC433F5 for ; Sat, 20 Nov 2021 15:39:22 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 44EF06B0071; Sat, 20 Nov 2021 10:39:07 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 3FE266B0072; Sat, 20 Nov 2021 10:39:07 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2EDDE6B0073; Sat, 20 Nov 2021 10:39:07 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0205.hostedemail.com [216.40.44.205]) by kanga.kvack.org (Postfix) with ESMTP id 20C096B0071 for ; Sat, 20 Nov 2021 10:39:07 -0500 (EST) Received: from smtpin04.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id E0873181286FE for ; Sat, 20 Nov 2021 15:38:56 +0000 (UTC) X-FDA: 78829716672.04.AAD1809 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by imf10.hostedemail.com (Postfix) with ESMTP id AA81B600198C for ; Sat, 20 Nov 2021 15:38:54 +0000 (UTC) Date: Sat, 20 Nov 2021 16:38:51 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1637422733; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tN5ewJXCTjSGUReagubKGCJLhvuBKJYqaDvPT1VNFOI=; b=4SyIPFeK829pDm7i2PCi2ZoP/lvst4CRlxeHjRue6Ic7r6bRscv8SfWQ6NK22+5GLZpfFM Ux1FmmFNMLAaJFBeq6Ebgh9eoSd9o7STBEkqyHg1FClknQNTX4O9CZFrH8VV4WqhIBkrMJ /l0R45/A0ezjfSwCsQ1XHP/pdGt8/yhuFJJDC93O1slBJZHPfZfXkvZeExa/7y+zkXhr6g y7CPTr69vjiuczGY8JnRTJSW8Bwm7tILWv3AoKl7e+iKBm32yVhAZ8R0dZEN0xKVpBi2di GaERnEIfZUqCNZuYKSsjLTHcsMyTbV51sRIIU8YpiUde2L6sPcPt0K8yezQp3Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1637422733; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tN5ewJXCTjSGUReagubKGCJLhvuBKJYqaDvPT1VNFOI=; b=4O9QxPt532dRQWlj8Mvx7yKTc4XvdDajTAE31D2w0W4fIFVIR5bBvO7l93R/PVPFsbZF9J kEuzXcdsy1aa66BA== From: Sebastian Andrzej Siewior To: Minchan Kim Cc: Andrew Morton , Sergey Senozhatsky , linux-mm , LKML , Peter Zijlstra , Thomas Gleixner Subject: Re: [PATCH v2 7/9] locking/rwlocks: introduce write_lock_nested Message-ID: <20211120153851.bhxg6xclqagovqiy@linutronix.de> References: <20211115185909.3949505-1-minchan@kernel.org> <20211115185909.3949505-8-minchan@kernel.org> <20211119103516.24uhxrkdcy4vq25k@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: AA81B600198C X-Stat-Signature: dkf9ug9gcj3xeeer76tmonkueq3jjyj7 Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=linutronix.de header.s=2020 header.b=4SyIPFeK; dkim=pass header.d=linutronix.de header.s=2020e header.b=4O9QxPt5; spf=pass (imf10.hostedemail.com: domain of bigeasy@linutronix.de designates 193.142.43.55 as permitted sender) smtp.mailfrom=bigeasy@linutronix.de; dmarc=pass (policy=none) header.from=linutronix.de X-HE-Tag: 1637422734-518265 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: On 2021-11-19 10:21:37 [-0800], Minchan Kim wrote: > > #define rt_write_lock_nested(lock, subclass) rt_write_lock(((void)(subclass), (lock))) > > Guess you meant #define write_lock_nested. indeed, yes. > I should have Cced you. Thanks for the catch. > If it's fine, Andrew, could you fold it? You are welcome. I tested the series in my RT queue and it works. Acked-by: Sebastian Andrzej Siewior > Thank you. Sebastian