PERFORCE change 50544 for review

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Apr 6 23:46:37 PDT 2004


On Tue, Apr 06, 2004 at 05:47:35PM -0700, Peter Wemm wrote:
+> http://perforce.freebsd.org/chv.cgi?CH=50544
+> 
+> Change 50544 by peter at peter_daintree on 2004/04/06 17:47:08
+> 
+> 	mark runtime kldload as done.
+> 	add new entry for kldxref and loader preload support.
+> 
[...]
+> +kld preload support, teach the loader how to read new-style .ko files,
+> +as well as kldxref.  kldxref should be easy, it should be able to just
+> +read the modmetadata section directly, apply the relocs for that section,
+> +and use that to find the pointers to the other sections.

It would be cool, if we will be able to read (from kernel) modmetadata
before module is loaded. I think this is what is stopping as to check
if module with the same name already exists.

I may be wrong, while I haven't spend enough time on this yet.
If we are able to get only modmetadata from .ko from inside the kernel
(before loading module), tell me how, so we can fix this long-standing
KLD issue.

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd at FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/p4-projects/attachments/20040407/d621ccd8/attachment.bin


More information about the p4-projects mailing list