aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2020-01-04 22:51:44 +0100
committerSaeed Mahameed <[email protected]>2020-01-07 10:40:36 -0800
commit42ae1a5c76691928ed217c7e40269db27f5225e9 (patch)
tree7e4c812f870e2e90fc6422671b19abe67d61173e /tools/perf/scripts/python
parent8007880a2ca97c34e7ccd1fcf12daf854b792544 (diff)
mlx5: work around high stack usage with gcc
In some configurations, gcc tries too hard to optimize this code: drivers/net/ethernet/mellanox/mlx5/core/en_stats.c: In function 'mlx5e_grp_sw_update_stats': drivers/net/ethernet/mellanox/mlx5/core/en_stats.c:302:1: error: the frame size of 1336 bytes is larger than 1024 bytes [-Werror=frame-larger-than=] As was stated in the bug report, the reason is that gcc runs into a corner case in the register allocator that is rather hard to fix in a good way. As there is an easy way to work around it, just add a comment and the barrier that stops gcc from trying to overoptimize the function. Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92657 Cc: Adhemerval Zanella <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions