diff options
| author | Alexey Khoroshilov <[email protected]> | 2014-04-18 00:58:42 -0700 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2014-05-19 19:12:22 +0200 |
| commit | dc6d2a0f9782cf323acfddb6d98f5dbacc9cd4e3 (patch) | |
| tree | 96cdae1ffc070d55d237436d1d143d206365298a /tools/perf/scripts/python/bin | |
| parent | 248c9fb0418e071786b2b91992b5fe711d79f021 (diff) | |
bfa: allocate memory with GFP_ATOMIC in spinlock context
bfa_fcb_pbc_vport_create() is called only from bfa_fcs_pbc_vport_init(),
that is called only from bfad_drv_start() with bfad_lock spinlock held.
So the patch replaces GFP_KERNEL with GFP_ATOMIC to avoid
sleeping in atomic spinlock context.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <[email protected]>
Acked-by: Anil Gurumurthy <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions