Re: [PATCH 0/3] Fix sysrq caused USB performance regressions andleak

From: Alan Cox
Date: Thu Jul 09 2009 - 20:01:56 EST


> shouldn't it be
> + if (likely(!port->console || !port->sysrq))
> respectively
> + if (unlikely(port->console && port->sysrq)) {
>
> at least for clarity?

It'll get predicted by the CPU just fine I suspect.

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