[OpenAFS-devel] openafs in the base kernel?

Alexander Mirgorodsky mirgorodsky@yahoo.com
Tue, 4 May 2004 08:51:36 -0700 (PDT)


--- Derek Atkins <warlord@MIT.EDU> wrote:
> No, it cannot be built into the base kernel.  You might be able to
> hack in a kernel build system, but it would be a lot of work for,
> IMHO, little gain.

Thanks for the info. I agree, in this case the idea is not worth the
effort.

> What do you mean by "fully-resolved and relocated ELF image of the
> module"?

Ideally, I would like all call instructions patched up to point to
correct destinations. An ELF image is a first approximation to this
(in the user space it will have calls to PLT, but I have already dealt
with those). A kernel module's .o file is harder -- even intra-module
calls have zero offsets.

>  IMHO any tool that can't use loadable modules is broken
> and should get fixed to allow loadable modules. Even kgdb handles
> loadable modules!  If a debugger can do it, so can anything else.

Totally agree. I will implement proper support for loadable modules,
but wanted to do a quick test. After all, it is just a research
project :)

Thanks,
Alex



	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover