On Wed, Jan 9, 2019 at 1:11 AM Klemens Nanni <k...@openbsd.org> wrote:
> On Wed, Jan 09, 2019 at 01:12:31PM +1000, David Gwynne wrote: > > -#define TRUNK_MAX_STACKING 4 /* maximum number of stacked > trunks */ > Is this an arbitrary limit or does it conceal other limitiations? > If stacking is handled via possibly recursive calls then there's an effective limit imposed by size of the kernel stack. Imposing a depth limit also prevents looping a stack by adding an upper trunk to a bottom one. Philip Guenther