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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55B15C00140 for ; Thu, 18 Aug 2022 18:59:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345339AbiHRS7b (ORCPT ); Thu, 18 Aug 2022 14:59:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345292AbiHRS72 (ORCPT ); Thu, 18 Aug 2022 14:59:28 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D21DBFC7F for ; Thu, 18 Aug 2022 11:59:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1660849166; 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=zGb9AUD76XSe+9n25olXgP8J31+p67LHtLCVbcvi+vk=; b=Ebkx32TBbbUh+j9m0J/9dJsBXS1PHwK1WTvKbOyE2DGemt+dPpE8sG4eIWpFVJaPECwlnf iAxNwJ+unlrRvfPunBBZspnkzSJVbl878gvJOWVJ30Ej2GFaQBZ8gNnWZf/N0nxXElVt3y Dbnf1ozzgHwku8pkgxsar24CZ5K/LVI= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-659-AZpQlQbzPEiLEdtn3aT2zQ-1; Thu, 18 Aug 2022 14:59:21 -0400 X-MC-Unique: AZpQlQbzPEiLEdtn3aT2zQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B75461824603; Thu, 18 Aug 2022 18:59:20 +0000 (UTC) Received: from localhost (unknown [10.22.16.111]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6BD4740CFD05; Thu, 18 Aug 2022 18:59:20 +0000 (UTC) Date: Thu, 18 Aug 2022 15:59:19 -0300 From: "Luis Claudio R. Goncalves" To: Sebastian Andrzej Siewior Cc: Yajun Deng , peterz@infradead.org, mingo@redhat.com, will@kernel.org, linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org Subject: Re: [PATCH 5.10-rt] locking/rtmutex: switch to EXPORT_SYMBOL() for ww_mutex_lock{,_interruptible}() Message-ID: References: <20220803062430.1307312-1-yajun.deng@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 18, 2022 at 06:32:37PM +0200, Sebastian Andrzej Siewior wrote: > On 2022-08-03 14:24:30 [+0800], Yajun Deng wrote: > > We can use EXPORT_SYMBOL() instead of EXPORT_SYMBOL_GPL() in > > ww_mutex_lock_interruptible() and ww_mutex_lock(). That match > > ww_mutex_unlock() well. And also good for 3rd kernel modules. > > Not that I am fan of this but it will sync the symbols with what landed > upstream as of commit > f8635d509d807 ("locking/ww_mutex: Implement rtmutex based ww_mutex API functions") > > therefore it would be good to have. > Luis? Looks good to me. I can add that to my next update. Luis > > Signed-off-by: Yajun Deng > > Sebastian > ---end quoted text---