Re: Test some kernel feature without recompile
From: Bryan Donlan
Date: Sun Mar 22 2009 - 23:21:30 EST
On Sun, Mar 22, 2009 at 6:43 AM, Dragoslav Zaric
<dragoslav.zaric.kd@xxxxxxxxx> wrote:
> Hi,
>
> I know when you work on some kernel module, you can change code and load
> module again and test it, but what if you change some built in kernel
> .c file, why
> would I need to recompile whole kernel just to see what happens if I change one
> .c file ??
>
> Why can I just compile one changed .c file and copy it where compiled version of
> that file reside inside kernel tree? Or maybe there is some image info embedded
> inside compiled files, so that file must belong to specific image from
> which it is
> installed ?
ksplice can do this in some limited cases: http://www.ksplice.com/example-update
Obviously, changes which affect the structure of kernel datastructures
are more difficult to accomplish...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/