Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4529881ybp; Mon, 7 Oct 2019 09:46:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxIxBJL93bG7aAKpH1Sr4vPCuYMN76HQlzzUc06wsP4SaDjDKjQq1yXfv0cBE9/2UUSrLPQ X-Received: by 2002:a17:906:8054:: with SMTP id x20mr17725316ejw.65.1570466794235; Mon, 07 Oct 2019 09:46:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570466794; cv=none; d=google.com; s=arc-20160816; b=dX0/z348T1gv+e6TbDW+mZ1OgUqrSSZDp1YrXDndcYx/vxHonuaYRDBaXjC3sb+RU/ jtHogtBZ8+luKfGrqKqrZ32kyFXDQ7OhJZAsrBMREnL1rlsU7NA/0Yr76BLyTTLSJ/bU J1V1jvSp9pORm6+Qu+C4WFgm7sX5AyZwRwpv5C8VD9zoyXKtIrfyBG2VRgF3wbcl8tC+ xne2BxZLslWVhqbK/nFFvPOTJo44ZS30FbRVjw8/l0rAVVNJRGJmXxNDIqDh7lrwbzrh o+LCi3HvoJVVFZ6wTopFkPefwsZUsAZoZMfKrb2z4F+dRVBvKaeajL9dP4eTZij8Xjhn KX5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Cvmh7Pa9BdfTYp4coPq52+1z6VGaiLoXlBYUzse+sSk=; b=yeGJDIgTIvfuWAutlmlTZx5krjoh4MGrHv8o+OEF7wUjgzEJRxbeImLgCOHix7++Ff 68CMP3/AY+hyU8JPAtMFPYKb2wmmX+RcTPZhGhLyiyqmcpGHBGIYuBmr+T/iwnpz5aGI kTE49+hD+gAxk6QpI0HuL63NDNpnox8EFksysEFDIGqm3st9T65Eb9uILAjKI6u351Ge 9Gt8dxKGkxoKMY3zIaQClTJZMRxGnDPFX1STzUqAzx4eDzsVfEMpNGtxbNNt7hjknWTq eh3wnU7DwEnyLLlqP28AlMplE9Dd3zzpOlhmKtrfStAwVaXC3RejFajI7IYEE2OH4b8O izLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=L41iUj+Z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3si9659742edj.220.2019.10.07.09.46.10; Mon, 07 Oct 2019 09:46:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=L41iUj+Z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728997AbfJGQnk (ORCPT + 99 others); Mon, 7 Oct 2019 12:43:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:37898 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727830AbfJGQnk (ORCPT ); Mon, 7 Oct 2019 12:43:40 -0400 Received: from linux-8ccs (ip5f5ade87.dynamic.kabel-deutschland.de [95.90.222.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 43E0E20700; Mon, 7 Oct 2019 16:43:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570466619; bh=18jBfXv9rylAjh6k7GAxABb+qhImwkW083rbcWQbSpY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=L41iUj+ZaQkgvmNDSRNeXBh1OnhPFuJg4lBFldlglcR1Pswi/z8i+ccMEHi3wm6tW yvvpUFglAJfvJ9H2Rn/evA/K3h9PU15zmZRnL4lEJmyitLjJxzRZkDknzjjXxBrd1d RNlIph9vM2Fa/OR0I86t+iVAIKy/DQyLSK4YPjBw= Date: Mon, 7 Oct 2019 18:43:33 +0200 From: Jessica Yu To: Masahiro Yamada Cc: Matthias Maennich , Greg Kroah-Hartman , Shaun Ruffell , linux-kbuild@vger.kernel.org, Martijn Coenen , Michal Marek , Will Deacon , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/6] module: various bug-fixes and clean-ups for module namespace Message-ID: <20191007164332.GA6021@linux-8ccs> References: <20191003075826.7478-1-yamada.masahiro@socionext.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20191003075826.7478-1-yamada.masahiro@socionext.com> X-OS: Linux linux-8ccs 4.12.14-lp150.12.28-default x86_64 User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +++ Masahiro Yamada [03/10/19 16:58 +0900]: > >I was hit by some problems caused by the module namespace feature >that was merged recently. At least, the breakage of >external module builds is a fatal one. I just took a look at the code >closer, and I noticed some more issues (some are nit-picking). > >V2: > - I dropped "module: avoid code duplication in include/linux/export.h" > because Matthias offered to refactor the code by himself. > > - V1 missed the problem when a symbol is preloaded before > sym_add_exported() is called. I fixed it too. Hi Masahiro! Thanks for the v2. I've queued this up in the module tree with the intention of getting the fixes in for -rc3. Matthias is working on some modpost fixes that would get rid of the __ksymtab_./__ksymtab_. naming scheme altogether in favor of just getting the namespace string from __kstrtabns and __ksymtab_strings -- this may render patch 1 unnecessary. But since we want to fix this asap, we can just keep it and apply Matthias's fix on top later. Thanks! Jessica