Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp6677417imm; Tue, 24 Jul 2018 00:45:32 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd8Uau+ksn9POeHv/STyOss3e9VdZMSKMXtHOjm5wvD/ZWJisNAiSq7RtQSIWUygh18Xpnd X-Received: by 2002:a17:902:820e:: with SMTP id x14-v6mr11409780pln.218.1532418332268; Tue, 24 Jul 2018 00:45:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532418332; cv=none; d=google.com; s=arc-20160816; b=CBX0BmtMLmp7huux1p1gul2XDQSb0dhE6JlDhA8WlkRFd5Pb+yNyP65f1CtyKIPCSz OfiNvkp5S2KeV0rOzt4ORDKJqEdrt+vAm9T0rcFU54F9T7wJ42Nvk7lqolHZK6Ziiz6L SYEjTTCOp3x65I0reqB+YIylNci83wgfvvihItP0qRo5OjEXqa48axt+BXXD9sqhL4lT IGQRC3Mys3qPXplqItwTaPEpG8JBo2+tPqFvoUxjCKxYAYPcrlALCGEn5ueW9HZxCpHR Ne0MdUS0wVAAbXlavbsEPEgwjIU7XruBsdt9rRI0xMqoMuqp1QCjXqax6Yo4ex6ux7Tf /o4A== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=woYC26y4lMjyBG6aZzCjVKPuNioBMWUIx01f0d0c7FU=; b=XXbvg3J0Ud6YL5SgnNaaCz759B3siSUPPy7CLi3Oiti4WvUOO/qIYTHZ9cHHY6E58o 1vJgDi74GRBeg3BpGKCtSTp1wHEXahTeOXNef+aTqHy9ius1M5u5jEv0PuKmYdC89hod 3UVpzueS2+9yx1Q4l45eChhOzfZfkw+1JwqBKD0yDzhJbHigLLpyyGIV57GgRkxvzZTn 6O0+MLGZZguZ5myKa6z0A2ZAcoI/dhggm3acX4TZlylfgltlB7rgX70ItFmASgoZYjcO Vg+fZ1j581hE+6qnWzWulspiSZY9i3pl8gwdb83rSdd3JYQsIXbLQRc+LtYenzkU81Vn 8FvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@android.com header.s=20161025 header.b=fZ9CInNc; 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=android.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s184-v6si10651298pgb.161.2018.07.24.00.45.17; Tue, 24 Jul 2018 00:45:32 -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=@android.com header.s=20161025 header.b=fZ9CInNc; 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=android.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388483AbeGXItf (ORCPT + 99 others); Tue, 24 Jul 2018 04:49:35 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:38897 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388405AbeGXItf (ORCPT ); Tue, 24 Jul 2018 04:49:35 -0400 Received: by mail-it0-f65.google.com with SMTP id v71-v6so2408971itb.3 for ; Tue, 24 Jul 2018 00:44:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=android.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=woYC26y4lMjyBG6aZzCjVKPuNioBMWUIx01f0d0c7FU=; b=fZ9CInNcw2qTJeHWPPyqQvQAaRS6g1/IKkou2TmxwEdY8ycgxJasDae4ffgPggEWJZ neEW2+uytDYoT1WKCZ+K7tJk1Wc/PU+Eavqbk+zViMsWK1CY9AQojrPd+USiWHdKbTxO fGTHjwBa04LcQ719Bson1kgENkh2BvNLYyvt7vazMveqX9GxPYUGw33tAvwm1L46iHPS Y2Q+ft0XhXY+YKIDatO7LVHDmfj/l+AK93Ery2v680cHY0v6gPbfR/Qzp+MDFPNyEJ3d 4/yFzuxid7ht1pqkvqw78Lpi/mrxH3HgnlWLN1k795eLcnqiJdI26Ul3cOcrKRapudFv 4mdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=woYC26y4lMjyBG6aZzCjVKPuNioBMWUIx01f0d0c7FU=; b=I8wjj7qK1ZmNYZhn3APG2u1rYuDQuDJLv10k/3QmYSOe9jkDBS1+lYBIuuqA8HKU+a fDPr3L9MIYKmSFPQnkkD6IdDyQLr1fJH00GPrETpUpNJnOtttZzTExyvsw+QsnBuyYcY PU7M1y4Z0oxLjsU8mLJuuiV5xrOobrb7nZIq0rGJ6SXmgZCEVTa+YcrUmZz0zzjbynUZ f87ssD9rDxuEMffhsSLqYif9O0KIvlFSvyZIsGowOwBKTKwDiJutkOowY2j+us9KgUgI G4RCc+pJvIRkYO76kyjnc9yeHkNXD40FGOZNLYPrXJGARbj5+vsi7+ljrnsCwYMnjuPI 5tYQ== X-Gm-Message-State: AOUpUlF/lj4kJ2BCWilxiGrFy+XRFrZrij2q2xW66gPwmXW59DPEbziz PvDWTzhH5KOnje+G0A6JKR/lDumW5CyUswhIV+3tKQ== X-Received: by 2002:a24:7bd4:: with SMTP id q203-v6mr1673489itc.123.1532418265924; Tue, 24 Jul 2018 00:44:25 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:bb58:0:0:0:0:0 with HTTP; Tue, 24 Jul 2018 00:44:25 -0700 (PDT) In-Reply-To: <20180723111251.x2cam6bcuglr4hhz@linux-8ccs> References: <20180716122125.175792-1-maco@android.com> <20180716122125.175792-3-maco@android.com> <20180719163208.5xvrafugpcbhh7kj@linux-8ccs> <20180720144916.fyqpmrtgt23sax6n@linux-8ccs> <20180723111251.x2cam6bcuglr4hhz@linux-8ccs> From: Martijn Coenen Date: Tue, 24 Jul 2018 09:44:25 +0200 Message-ID: Subject: Re: [PATCH 2/6] module: add support for symbol namespaces. To: Jessica Yu Cc: LKML , Masahiro Yamada , Michal Marek , Geert Uytterhoeven , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "the arch/x86 maintainers" , Alan Stern , Greg Kroah-Hartman , Oliver Neukum , Arnd Bergmann , Stephen Boyd , Philippe Ombredanne , Kate Stewart , Sam Ravnborg , linux-kbuild@vger.kernel.org, linux-m68k , USB list , USB Storage list , linux-scsi@vger.kernel.org, Linux-Arch , Martijn Coenen , Sandeep Patil , Iliyan Malchev , Joel Fernandes 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 On Mon, Jul 23, 2018 at 1:12 PM, Jessica Yu wrote: > IMO I don't think we should bend over backwards to accommodate > out-of-tree modules - modifying the module loader to recognize even > more special sections to accommodate these OOT modules would be where > we'd draw the line I think. I agree with you, I really don't like making the module loader more complex (which is why I didn't opt to create separate sections in the first place), and in the end this change will in some ways benefit out-of-tree drivers too, even though it will be a bit painful now. > I think going forward I would prefer to have export namespaces to be a > normal and regular part of kernel API (as in, we shouldn't require a > new option for it), and that the warnings for 1-2 cycles are courteous > enough - but anyone with stronger opinions about this should speak up. That aligns with how I think about this; if we want this to be a standard thing in the kernel, we should at some point enforce it, because it's pretty easy to ignore the warning. The good thing is that it's not a big on/off switch, but subsystem maintainers can just introduce namespaces when it makes sense. Thanks, Martijn > > Thanks, > > Jessica