summaryrefslogtreecommitdiffstats
path: root/drivers/net/netconsole.c
diff options
context:
space:
mode:
authorVictor Raj <victor.raj@intel.com>2021-03-25 15:35:05 -0700
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-04-07 17:09:15 -0700
commit7fb09a737536fc7bff75c7018133acb30328ca07 (patch)
treebc2c8d65011d23f43aabec1d334a9cf878f3d445 /drivers/net/netconsole.c
parent3056df93f7a83f456d20536c92260db0b1290ef5 (diff)
downloadlinux-7fb09a737536fc7bff75c7018133acb30328ca07.tar.bz2
ice: Modify recursive way of adding nodes
Remove the recursive way of adding the nodes to the layer in order to reduce the stack usage. Instead the algorithm is modified to use a while loop. The previous code was scanning recursively the nodes horizontally. The total stack consumption will be based on number of nodes present on that layer. In some cases it can consume more stack. Signed-off-by: Victor Raj <victor.raj@intel.com> Tested-by: Tony Brelinski <tonyx.brelinski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/netconsole.c')
0 files changed, 0 insertions, 0 deletions