ActiveVideo interview question

Optimize SM resource manager design