diff options
author | 2015-04-21 10:30:41 -0400 | |
---|---|---|
committer | 2015-04-21 13:17:06 -0700 | |
commit | 0edfad5959df7379c9e554fbe8ba264ae232d321 (patch) | |
tree | bc1638f073f782b9855e7d11421a42583adfe171 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | sparc64: Use M7 PMC write on all chips T4 and onward. (diff) | |
download | linux-dev-0edfad5959df7379c9e554fbe8ba264ae232d321.tar.xz linux-dev-0edfad5959df7379c9e554fbe8ba264ae232d321.zip |
sparc: Use GFP_ATOMIC in ldc_alloc_exp_dring() as it can be called in softirq context
Since it is possible for vnet_event_napi to end up doing
vnet_control_pkt_engine -> ... -> vnet_send_attr ->
vnet_port_alloc_tx_ring -> ldc_alloc_exp_dring -> kzalloc()
(i.e., in softirq context), kzalloc() should be called with
GFP_ATOMIC from ldc_alloc_exp_dring.
Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions