Re: kernel development & git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 16, 2007 at 07:44:11PM +0200, Ramagudi Naziir wrote:
> On 1/16/07, Adrian Bunk <bunk@xxxxxxxxx> wrote:
> >What "new kernel features" you want to develop?
> >What to develop against depends on this question.
> 
> hmm can u please elaborate ?
> i am developing a new driver but
> i'm interested in what you say
> so maybe can u answer for several,
> typical, cases ?

The kernel doesn't have a stable API for drivers, so not developing 
against an ancient kernel [1] reduces the amount of work required for 
porting it to the latest kernel when submitting it for inclusion.

But development kernels (including -rc) kernels are more likely to have 
bugs you might run into.

And doing development with a development kernel you are regularly 
updating to the latest one can easily be a bad idea since this would be 
two moving targets increasing making it harder to trace problems.

If you are e.g. developing one more standard network or ALSA driver 
2.6.19.2 sounds like a good choice to work with.

Things might be different if you are developing a driver in an area like 
e.g. SATA that is heavily developed and might have changes affecting 
your driver in the latest development kernels.

Whether you use a git tree or tarballs from kernel.org for getting the 
kernel shouldn't make any difference. Like with all software development 
it does make sense to maintain the code you develop in some version 
control system, but whether that's git, CVS, Subversion or anything else 
doesn't matter as long as you can work with it.

> Thank YOu
> naziir

cu
Adrian

[1] in terms of kernel development, "1 year old" is ancient

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux