Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp44676ybn; Thu, 3 Oct 2019 01:05:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqwvR4wxB4YZnKSjIEadzEJPdIQRpmMdSCnpu0qBv7jF1/Acf1Hk7c/sO21FO8q/DT28f9U7 X-Received: by 2002:aa7:cd18:: with SMTP id b24mr8050722edw.181.1570089910102; Thu, 03 Oct 2019 01:05:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570089910; cv=none; d=google.com; s=arc-20160816; b=O5i4+5M5sGznu8dXnpKkDC/ZcmEutezLV8D65aOTTfLuLZ+zo10zACxyUYxcASg9o5 NGB+TYcobuiUo/agjPXpOJyLtWvmYK1jDLtfb0fALZn6J9j0imXUdm4KXVdtSUnsPqqS imzamvwBgsn7sHQlAoYv4QifHI3Pwyp5Pfn1UvaYlrwwWsBqnx3/hnxk+syhVwmM+RUr 57fWj+kYg3jThIWwkj/Rq5eydB0zVZ9N6pOCH21tKW1SZAGUR1kOq62cb16Vp42a8CZr PX+xnAPSiAjtE32s/Hc9XBUJPjb5WeOzxo/9czCeozAAovN4Aa3eqhcpQ5RpgpG9AMjP ECCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=ywElMDcopw8TFE1ECGxXNxiLFEr+8ZD48GBXZOvm644=; b=isJzQodcoYWP7d+m9cX7c1x/XVW/bgAnJufkCxX8k8468io1zYpRDH38oHzbLdw3P+ A3pU8TQV1xOA767kh54rS5JhD6w49WcE8xDjWqcamkkSPUIHXdEzNM1aE8OScu/AjBjX v5vClNFqVQbfwN+VqY2jv3n4kH9Ku/j1RP323fly4D03DmeKanvg0pz1CDZXM35kzAtn 2hw8GsiHYpZNP88BI8RyvriGB5WQQkguBuiwxRZUG/+eYJlWiPlbqVsicP6+SOyPlbo1 8T0GbWQ5xXaM1A3nrjFjQXqeozKGlJo+r2ffCPGx4EvAKx8X0mrPAArqsH813sddZ3is d0Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="F1L8/y7Q"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ck18si827308ejb.300.2019.10.03.01.04.44; Thu, 03 Oct 2019 01:05:10 -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=@nifty.com header.s=dec2015msa header.b="F1L8/y7Q"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728656AbfJCIEA (ORCPT + 99 others); Thu, 3 Oct 2019 04:04:00 -0400 Received: from conssluserg-04.nifty.com ([210.131.2.83]:63836 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727953AbfJCID7 (ORCPT ); Thu, 3 Oct 2019 04:03:59 -0400 Received: from mail-vk1-f180.google.com (mail-vk1-f180.google.com [209.85.221.180]) (authenticated) by conssluserg-04.nifty.com with ESMTP id x9383tqX012642; Thu, 3 Oct 2019 17:03:56 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com x9383tqX012642 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1570089836; bh=ywElMDcopw8TFE1ECGxXNxiLFEr+8ZD48GBXZOvm644=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=F1L8/y7QLw72synjYb9Nrgh27DtQuVR5PhMLQLq5Qa/mjbpkyEHZ5HfeuW8QlhyJg 5JHOoTYaBJBl3hE3HCQcpzm/elTzpF3sf/n+fN2uHdODHqPEpG76ghqMkvhGvW+/mS dIxOb+GltXbkeG/LIOViWxJS3SXlWE/nSRPONckFrHog16dSzJzjpkwANkxXyBGPij m0CKF2dnG151t8vUNDmCi3T9JV1yxMUABBw6soltSpDbemy0lwB842wXuGJ5joMzKD +vKIIose2H318QJC9hmI3bLypBIqcpcHNmxjWJfvEOmLdc+4yrNTmGLCeEDSF3oXnx YkkJ6RV85DBDQ== X-Nifty-SrcIP: [209.85.221.180] Received: by mail-vk1-f180.google.com with SMTP id q186so426896vkb.0; Thu, 03 Oct 2019 01:03:55 -0700 (PDT) X-Gm-Message-State: APjAAAWCSlpm0fmg8IBBEcLqSgryxHlXrT/Rf56Z+SSVH7U0ueQcTLPO XJ3yP4IZBDKH6+kyL7RqOwI1sYWL8YVMI+HWJHU= X-Received: by 2002:a1f:2343:: with SMTP id j64mr4251399vkj.84.1570089834846; Thu, 03 Oct 2019 01:03:54 -0700 (PDT) MIME-Version: 1.0 References: <20190927093603.9140-1-yamada.masahiro@socionext.com> <20190927134108.GC187147@google.com> <20191002185701.GA29041@linux-8ccs> In-Reply-To: <20191002185701.GA29041@linux-8ccs> From: Masahiro Yamada Date: Thu, 3 Oct 2019 17:03:18 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/7] module: various bug-fixes and clean-ups for module namespace To: Jessica Yu Cc: Matthias Maennich , Greg Kroah-Hartman , Joel Fernandes , Martijn Coenen , Will Deacon , Michal Marek , Will Deacon , Linux Kbuild mailing list , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jessica, On Thu, Oct 3, 2019 at 3:57 AM Jessica Yu wrote: > > +++ Matthias Maennich [27/09/19 14:41 +0100]: > >On Fri, Sep 27, 2019 at 06:35:56PM +0900, Masahiro Yamada wrote: > >> > >>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 and improvements. > >> > >>I hope these patches are mostly OK. > >>The 4th patch might have room for argument since it is a trade-off > >>of "cleaner implermentation" vs "code size". > >> > >Thanks Masahiro for taking the time to improve the implementation of the > >symbol namespaces. These are all good points that you addressed! > > Agreed, thanks Masahiro for fixing up all the rough edges! Your series > of fixes look good to me, I will queue this up on modules-next this > week with the exception of patch 4 - Matthias, you are planning to > submit a patch that would supercede patch 04/07, right? > > Thanks! I missed to fix one issue in v1. sym_add_exported() misses to set s->namespace if the struct symbol is already created by read_dump() or sym_update_crc(). So, I just sent v2. -- Best Regards Masahiro Yamada