Re: [PATCH net-next v2] net/fs: change busy poll time accounting

From: David Miller
Date: Tue Jul 09 2013 - 15:33:40 EST


From: Eliezer Tamir <eliezer.tamir@xxxxxxxxxxxxxxx>
Date: Tue, 09 Jul 2013 13:09:21 +0300

> Sorry, I forgot to commit before sending, so I sent the wrong version.
> The previous version gets a warning in busy_loop_timeout().
>
> Suggested by Linus:
> Changed time accounting for busy-poll:
> - Make it microsecond based.
> - Use unsigned longs.
> - Revert back to use time_after instead of time_in_range.
> Reorder poll/select busy loop conditions:
> - Clear busy_flag after one time we can't busy-poll.
> - Only init busy_end if we actually are going to busy-poll.
> Added one more missing need_resched() test.
>
> Signed-off-by: Eliezer Tamir <eliezer.tamir@xxxxxxxxxxxxxxx>

Ok, looks good, applied.

Thanks!
--
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/