Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2574785ybt; Mon, 22 Jun 2020 01:42:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzl+VY6IOde389gHgorDjHwqLhASTPbJGeFHIIpLNBW5tg8SaJZj7c5CuIvkA4VqkvKtUnG X-Received: by 2002:aa7:d3ca:: with SMTP id o10mr587973edr.138.1592815349242; Mon, 22 Jun 2020 01:42:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592815349; cv=none; d=google.com; s=arc-20160816; b=aS8Tz+Lz8CQ55uNaEK8g83ige60z+ZhiS7hWqLaqLfjNoNlZLXP9b9ey9La5XcpjRU W650FCCMXWqcww4T/1la4BzSE3DM7fxXQM4KDcLnvN2Q6K0n6cTc3sKwLwz4QPPTKuQr y0YVbU1L2BQXtHS1PK8cWWmsmhyjCdRawion06kx+M57XwI+dQubOs6wqvVPdM6oSFJS dFSyL5KGZMBz7AYyBjbx0LqSxozO2bie8QAej2P4SFJy6MczQI57uqkoaTEey55lsfOc Xi9CHU5FV2SOj4yojLKBmwoo9LH473uWuCqMhShQvN0WWyYBhGJv/fL9Msmd9kpwCPvH we8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=ZoG9XJOzc7EVcxG53iR0rPWVD0L8l9rTNKpDj3OjWmc=; b=dimAW+tkK6ikgV9S1XQ/Yz8q9YT/ryE2n7jEVq12M9RUVjSn9/77giR7YTfmbcgXqj K9fH0qKfHaEj4FqWfcR10dHlKRkQLGtqswrWt5xLdkYInlPnrMrNR0A5W7aSqpm9h0z8 EJFCAIWqjLfuAtfGvXO4epvNypJOlOB1vODGaPt1dS4hziAijhLqPnBHMhwVy5YWSmsK bzV7c9qA200RhGpNdn5GaU8ZWJqRqGm7L9whwfqWR4+Ve5jvQnlbKMFfslufV7NBv/e8 QU+xhyx1XTCk5Gy1ki5r9VCY0xaiLNBVOs18AFFBdQjyML/Dl9Ila0K/ImZwhLQPur8D erEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dp9si11363699ejc.698.2020.06.22.01.42.06; Mon, 22 Jun 2020 01:42:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726459AbgFVIkB (ORCPT + 99 others); Mon, 22 Jun 2020 04:40:01 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:59265 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725883AbgFVIkB (ORCPT ); Mon, 22 Jun 2020 04:40:01 -0400 Received: from ip5f5af08c.dynamic.kabel-deutschland.de ([95.90.240.140] helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jnHzj-0005fp-CR; Mon, 22 Jun 2020 08:39:59 +0000 Date: Mon, 22 Jun 2020 10:39:57 +0200 From: Christian Brauner To: Dominique Martinet Cc: Alexander Kapshuk , linux-kernel@vger.kernel.org, oleg@redhat.com, ebiederm@xmission.com, akpm@linux-foundation.org, liuzhiqiang26@huawei.com, joel@joelfernandes.org, paulmck@linux.vnet.ibm.com, kernel test robot Subject: Re: [PATCH] kernel/signal.c: Export symbol __lock_task_sighand Message-ID: <20200622083957.lfgz4j2dop5ryiz6@wittgenstein> References: <20200621133704.77896-1-alexander.kapshuk@gmail.com> <20200621135437.GA18092@nautica> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200621135437.GA18092@nautica> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jun 21, 2020 at 03:54:37PM +0200, Dominique Martinet wrote: > Alexander Kapshuk wrote on Sun, Jun 21, 2020: > > Export symbol __lock_task_sighand, so it is accessible from code compiled > > as modules. > > This fixes the following modpost error: > > ERROR: modpost: "__lock_task_sighand" [net/9p/9pnet.ko] undefined! > > This can't fix something that's not broken (yet)! :) > > I think it'd make more sense to describe why you think we should export > it, rather than describe a precise usecase e.g. justify why this would > be interesting to use from modules (e.g. it would help modules like 9p > take a lock on the current signal handler safely and cleanly through > lock_task_sighand()) > > > > Christian, Andrew - assuming this passes reviews from someone else I'm > not sure how to go forward with this; it'd be simpler for me if I could > take it in the 9p tree as I need it for the patch Alexander pointed at, > but I'm not normally touching any file outside of the 9p tree. > Is it better to let either of you take it normally (I think it'd be > you?) and wait for that to land, or can I take it in my tree for the > next merge window? Hm, I don't think the patch is really needed though; see my other mail. :) Christian