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 70ce7a3 commit 4e6693b
Showing 1 changed file with 164 additions and 95 deletions.
Loading

0 comments on commit 4e6693b

Please sign in to comment.