[ovs-dev] [PATCH] seq: Attribute wakeups to seq_wait()'s caller, not to seq_wait() itself.
blp at nicira.com
Wed May 21 15:00:46 UTC 2014
On Wed, Apr 30, 2014 at 02:35:13PM -0700, Ben Pfaff wrote:
> The poll_loop code has a feature that, when turned on manually or
> automatically (due to high CPU use), logs the source file and line number
> of the code that caused a thread to wake up from poll(). Until now, when
> a function calls seq_wait(), the source file and line number logged was
> the code inside seq_wait(). seq_wait() has many callers, so that
> information is not as useful as it could be. This commit changes the
> source file and line number used to be that of seq_wait()'s caller.
> I found this useful for debugging.
> Signed-off-by: Ben Pfaff <blp at nicira.com>
This still needs a review.
More information about the dev