Hacker News new | ask | show | jobs
Memory management in 40 major C projects, a survey (theconsensus.dev)
8 points by eatonphil 17 days ago
1 comments

Reading about the only project I know about: Linux. devm_kzalloc is not a region allocator in the traditional sense; the allocs are scattered (as usual) but we add a cleanup function to be called when the device lifetime expires. So there is no "region" anywhere in memory. BUT the main feature of region allocator as described in the intro still holds: "freeing a region frees all objects allocated within the region at once".