diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-11-12 21:56:19 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-11-16 13:24:01 +0300 |
commit | 32f3bf67ee78332f2caec0984cb9d412cd0a3c23 (patch) | |
tree | 47bf912535016ecb14a1d2f14db0bb8e05256a6e /tools/perf/scripts/python/stackcollapse.py | |
parent | ae31cea86ab31f3d2e15d6cc8710754ad7330c9e (diff) | |
download | linux-32f3bf67ee78332f2caec0984cb9d412cd0a3c23.tar.xz |
x86/ioperm: Avoid bitmap allocation if no permissions are set
If ioperm() is invoked the first time and the @turn_on argument is 0, then
there is no point to allocate a bitmap just to clear permissions which are
not set.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions