From: Taehee Yoo <ap420...@gmail.com> Date: Sat, 7 Sep 2019 22:45:32 +0900
> Current code doesn't limit the number of nested devices. > Nested devices would be handled recursively and this needs huge stack > memory. So, unlimited nested devices could make stack overflow. ... > Splat looks like: > [ 140.483124] BUG: looking up invalid subclass: 8 > [ 140.483505] turning off the locking correctness validator. The limit here is not stack memory, but a limit in the lockdep validator, which can probably be fixed by other means. This was the feedback I saw given for the previous version of this series as well.