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 5c42d91 commit d2b7edb
Showing 1 changed file with 138 additions and 81 deletions.
Loading

0 comments on commit d2b7edb

Please sign in to comment.