aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMathias Nyman <[email protected]>2023-06-02 17:40:03 +0300
committerGreg Kroah-Hartman <[email protected]>2023-06-13 11:34:50 +0200
commit4bf398e15aa410e25fa46a5684c7e5bf682ecc48 (patch)
treef1b17e577ca100d58111b1713989343de2d9aeb7 /tools/perf/scripts/python/stackcollapse.py
parent0a4776205b16d038ec6fedef2094951fcb6f441b (diff)
xhci: split allocate interrupter into separate alloacte and add parts
The current function that both allocates and adds the interrupter isn't optimal when using several interrupters. The array of interrupters need to be protected with a lock while adding or removing interrupters. If memory is allocated under the default xhci spinlock then GFP_KERNEL can't be used. There is no need to allocate the interrupter memory under the lock, so split this code into separate unlocked allocate part, and a lock protected add part. Signed-off-by: Mathias Nyman <[email protected]> Message-ID: <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions