Re: [PATCH 10 of 20] ipath - support for userspace apps using core driver

From: Roland Dreier
Date: Thu Mar 09 2006 - 18:31:29 EST


> + yield(); /* don't hog the cpu */

You probably don't want to do this -- yield() means "put me at the
tail of the runqueue." I think cond_resched() is more likely what you
want.

> +#endif
> +/* END_NOSHIP_TO_OPENIB */

uhh... and I don't see an #if to match that #endif.

- R.
-
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/