public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Alexey Dobriyan <adobriyan@gmail.com>,
	don.mullis@gmail.com, david@fromorbit.com,
	akpm@linux-foundation.org, linux-kernel@vger.kernel.org,
	Christoph Hellwig <hch@infradead.org>
Subject: Re: modules, "modules" and CONFIG_LIST_SORT
Date: Sun, 07 Mar 2010 08:37:15 -0800	[thread overview]
Message-ID: <4B93D63B.1040403@oracle.com> (raw)
In-Reply-To: <alpine.LFD.2.00.1003070320370.4033@localhost.localdomain>

On 03/07/10 03:23, Linus Torvalds wrote:
> 
> 
> On Sun, 7 Mar 2010, Alexey Dobriyan wrote:
>>
>> Unpleasant side effect of the change is that some modules stop being
>> true modules, i. e. admin is unable to start using them without reboot
>> if kernel was compiled without that tiny amount of core kernel.
>>
>> Having used this feature several times, I think it'd be correct
>> to preserve this behaviour, at least not regress for those modules
>> which benefitted from it. For modules which were always "modules" (ipv6)
>> it's fine to continue.
>>
>> Can we declare some policy about it?
>>
>> And revert LIST_SORT commit if yes.
> 
> Yeah, I think that in cases like this, you have a very good argument: 
> LIST_SORT enables code that isn't that large, and is clearly very generic.
> 
> And changing the config later and trying to compile and install a module 
> is rather sane. And if that new module needs LIST_SORT, you're screwed 
> because it didn't get compiled in originally.
> 
> Honestly, personally I'd rather have a real library that modules can link 
> to _before_ even loading into kernel space, but that's not how we've 
> traditionally done things. So I guess we should just revert that commit.

xfs also needs "select LIST_SORT".  I posted a patch for that a few days
ago and now Christoph Hellwig has asked me to send the patch directly to Linus,
but if Linus is going to revert the 'config LIST_SORT' patch, I'll skip it.

-- 
~Randy

  reply	other threads:[~2010-03-07 16:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-07  9:12 modules, "modules" and CONFIG_LIST_SORT Alexey Dobriyan
2010-03-07 11:23 ` Linus Torvalds
2010-03-07 16:37   ` Randy Dunlap [this message]
2010-03-07 18:12     ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B93D63B.1040403@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=adobriyan@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=david@fromorbit.com \
    --cc=don.mullis@gmail.com \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox