The SLUB allocator
The SLUB allocator
Posted Apr 12, 2007 23:58 UTC (Thu) by bronson (subscriber, #4806)In reply to: The SLUB allocator by rwmj
Parent article: The SLUB allocator
What kind? The kernel already has reference counting. If you're advocating mark & sweep... Well, go ahead and give it a shot! It might be a good master's thesis, but I'm not sure it would ever be better than the slightly buggy manual mess that we have now. :)
Posted Apr 13, 2007 9:36 UTC (Fri)
by nix (subscriber, #2304)
[Link]
(You *need* proper garbage collection handling cycles if you implement AF_UNIX sockets with fd passing, or any bugger can DoS you grotesquely.)
It's already there: net/unix/garbage.c.The SLUB allocator