aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohn L. Hammond <[email protected]>2016-03-02 17:01:52 -0500
committerGreg Kroah-Hartman <[email protected]>2016-03-02 15:23:49 -0800
commit933d36ba1485abe4f3d7ae23cecf87a2b71020d1 (patch)
tree9f3968655cbff969249c1993c9f7348582ae0b43 /tools/perf/scripts/python
parent661489adb6bade7bb452e6513daf52e607d1094e (diff)
staging: lustre: set task state before scheduling in lnet_sock_accept
In the original code change when libcfs_sock_accept() was made into lnet_sock_accept() a call to set_current_state(TASK_INTERRUPTIBLE) got dropped which was restored. For upstream this is an optimization of calling init_waitqueue_entry() only if accept() return -EAGAIN. Also we can remove setting the task to TASK_RUNNING that is not needed. Signed-off-by: John L. Hammond <[email protected]> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6407 Reviewed-on: http://review.whamcloud.com/14265 Reviewed-by: James Simmons <[email protected]> Reviewed-by: Amir Shehata <[email protected]> Reviewed-by: Oleg Drokin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions