diff options
| author | Jia-Ju Bai <[email protected]> | 2017-05-31 10:56:56 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-06-12 20:48:08 -0400 |
| commit | 896f6966fc815abe71f85fb26f0193875df8a035 (patch) | |
| tree | 6c1c0027740f63c5346c360a974d3934474638e4 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 566ec9ad315b46e7056472f4cd1d1b79bbad62da (diff) | |
scsi: megaraid: Fix a sleep-in-atomic bug
The driver may sleep under a spin lock, and the function call path is:
mraid_mm_attach_buf (acquire the lock by spin_lock_irqsave)
pci_pool_alloc(GFP_KERNEL) --> may sleep
To fix it, the "GFP_KERNEL" is replaced with "GFP_ATOMIC".
[mkp: fixed whitespace]
Signed-off-by: Jia-Ju Bai <[email protected]>
Acked-by: Sumit Saxena <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions