Em Wed, 28 Oct 2009 04:20:49 +0100
Andi Kleen <a...@firstfloor.org> escreveu:

With respect to the kfifo series of patches:

Acked-by: Mauro Carvalho Chehab <mche...@redhat.com>

> > Here's a V4L-DVB cx23885 module change, that is on its way upstream,
> > that uses kfifo as is:
> > 
> > http://linuxtv.org/hg/v4l-dvb/rev/a2d8d3d88c6d
> > 
> > Do you really have to break the old API?
> 
> That was extensively discussed in the original patch kit submission,
> and yes there are good reasons. You will just have to adapt
> the driver if it gets in after the new kfifo patches; if kfifo
> gets in later it'll have to adapt it.

I agree. The current kfifo implementation is very limited that can't be
used on several places. Changing its implementation to be generic enough
requires changing the API, since, on several places, we don't want to have
a spinlock. So, as we'll need to change the API anyway, better to do it at the
right way.

That's said, i7core_edac will also need the new kfifo API for 2.6.33, so I'll
have to handle this upstream change anyway. So, the faster this change went into
upstream, the better, since I'll hold my pull requests to happen after it.

Since I'll have 2 -git trees depending on this change (i7core_edac and v4l-dvb),
the better is if you could put the kfifo code on a git tree that won't be
rebased. This way, we can make our trees based on kfifo -git tree, having
everything rebased there to avoid any merge or bisect conflict (in my case,
cx23885 will need to be rebased, and i7core_edac will need kfifo -git objects
for a new NMI-aware fifo implementation using kfifo)



Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to