The current main branch shows the same behaviour: All physical cores are showing up.
Here is a comparison.
htop 3.2.1 shows 2 cpus, 31 tasks, 66 threads. htop uses roughly 0.7% CPU
htop 3.2.2 shows 2 cpus, 31 tasks, 66 threads. htop uses roughly 1.3% CPU
htop 3.2.2 with that patch shows 16 cpus, 31 tasks, 66 threads. htop uses between 5.3% and 10.6% CPU
htop current main branch shows 16 cpus, 31 tasks, 66 threads. htop uses between 5.3% and 10.6% CPU
I guess I fail to see the reason why this patch (removing LXC handling) was implemented. What was the bug being the reason to apply this patch?
Let me know If I can help with some additional tests in my environments.