summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2023-06-02 17:40:03 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-06-13 12:34:50 +0300
commit4bf398e15aa410e25fa46a5684c7e5bf682ecc48 (patch)
treef1b17e577ca100d58111b1713989343de2d9aeb7 /tools/perf/scripts/python
parent0a4776205b16d038ec6fedef2094951fcb6f441b (diff)
downloadlinux-4bf398e15aa410e25fa46a5684c7e5bf682ecc48.tar.xz
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 <mathias.nyman@linux.intel.com> Message-ID: <20230602144009.1225632-6-mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions