Skip to content

Commit

Permalink
ofproto-dpif-xlate: Reduce stack usage in recursive xlate functions.
Browse files Browse the repository at this point in the history
Several xlate actions used in recursive translation currently store a
large amount of information on the stack. This can result in handler
threads quickly running out of stack space despite before
xlate_resubmit_resource_check() is able to terminate translation. This
patch reduces stack usage by over 3kb from several translation actions.

This patch also moves some trace function from do_xlate_actions into its
own function.

Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=2104779
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: Mike Pattrick <[email protected]>
Signed-off-by: Eelco Chaudron <[email protected]>
Signed-off-by: Ilya Maximets <[email protected]>
  • Loading branch information
mkp-rh authored and igsilya committed Aug 9, 2023
1 parent 29990ed commit f04bfd5
Showing 1 changed file with 138 additions and 81 deletions.
Loading

0 comments on commit f04bfd5

Please sign in to comment.