lkml.org 
[lkml]   [2006]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 10 of 20] ipath - support for userspace apps using core driver
From
Date
On Thu, 2006-03-09 at 15:33 -0800, Roland Dreier wrote:
> > + 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.

OK. I don't think it much matters either way.

> > +#endif
> > +/* END_NOSHIP_TO_OPENIB */
>
> uhh... and I don't see an #if to match that #endif.

The code got drain bamaged by the patch mangling script. The real code
contains a mess of crap to support kernels back to 2.6.9, which gets
automatically stripped, except when it gets broken as above.

Next rev will be clean in this regard.

<b

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-10 00:59    [W:0.043 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site