Re: [patch 3/7] epoll keyed wakeups - introduce key-aware wakeupmacros

From: Davide Libenzi
Date: Sat Jan 31 2009 - 14:03:30 EST

On Sat, 31 Jan 2009, Alan Cox wrote:

> > One minor worry i have: these wakeup calls are _very_ common in the
> > kernel, and this patch adds an extra parameter to it that is unused (NULL)
> > in 99% of the cases.
> And in most of the cases it is used is constant for the waitqueue anyway
> or appears to be (eg the tty patch). I don't think we should be stacking
> extra parameters on all those zillions of calls made all over the kernel
> and for no purpose - so the existing wakeup functions should stay as is
> for performance as well as for size (which due to cache pressure is
> performance).

Besides for that, did the TTY patch look sane to you? Did I get all the
wakeup points? TTY code always gave me the willies :)

- Davide

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at