diff options
| author | 2019-04-11 05:31:21 +0200 | |
|---|---|---|
| committer | 2019-04-16 13:15:54 +0200 | |
| commit | c901556a43d282f6666e5fb8fbd3066dcb17c907 (patch) | |
| tree | beb139e57bc9e8a4bc826588f5f4f28f80961045 /tools/perf/scripts/python/stackcollapse.py | |
| parent | staging: wilc1000: Avoid GFP_KERNEL allocation from atomic context. (diff) | |
staging: wilc1000: give usleep_range a range
usleep_range() is called in non-atomic context so there is little point
in setting min==max as the jitter of hrtimer is determined by interruptions
anyway. usleep_range can only perform the intended coalescence if some
room for placing the hrtimer is provided. Given the range of milliseconds
the delay will be 2+ anyway - so make it 2-2.5 ms which gives hrtimers
space to optimize without negatively impacting performance.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
