Re: [PATCH 3/3] Makes lguest's irq handler typesafe

From: Tejun Heo
Date: Fri Jan 18 2008 - 23:08:46 EST


Hello,

Rusty Russell wrote:
> There are three possibilities: (1) force everyone to use void *, (2) force
> everyone to be type-correct, (3) allow both with some tricks. Currently
> we're on (1). For kthread, with only dozens of users, I chose (2) (very
> simple, easy to understand). I think for widespread things like timer and
> interrupt handlers, I think (3) is the right way to go.

Yeah, during transition, we definitely want (3).

> I wanted to get this patch out there and see what the reaction was. I can
> do timers next, if that's going to add fuel to the discussion.

I think you successfully got a very small sample of possible reactions.
Jeff vetoing it (and for good reasons) and me a bit more positive but
not quite sold. Yeah, I think we need a good flame war to determine our
heading and converting timer shouldn't take too much of your time, right?

Thanks.

--
tejun
--
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/