ParentFull threadparaboul·Making this solution works with something else than a "buddy" CPU is tricky if you assume that it's always a power of two.View on HN