some questions on kern_linker and pre-loaded modules

2013-01-26 Thread Andriy Gapon
I. It seems that linker_preload checks a module for being a duplicate module only if the module has MDT_VERSION. This is probably designed to allow different version of the same module to co-exist (for some definition of co-exist)? But, OTOH, this doesn't work well if the module is version-less

Re: some questions on kern_linker and pre-loaded modules

2013-01-28 Thread John Baldwin
On Saturday, January 26, 2013 6:52:01 am Andriy Gapon wrote: > > I. > It seems that linker_preload checks a module for being a duplicate module > only > if the module has MDT_VERSION. > > This is probably designed to allow different version of the same module to > co-exist (for some definition

Re: some questions on kern_linker and pre-loaded modules

2013-02-02 Thread Andriy Gapon
on 28/01/2013 17:40 John Baldwin said the following: > Yes, I think it is too hard at present to safely allow a linker file to > override the same module in a kernel, so the duplicate linker file should > just be rejected entirely. I'm not sure if your change is completely > correct for that. Inc