KS2007: Memory management
Posted Sep 11, 2007 19:20 UTC (Tue) by
bronson (subscriber, #4806)
Parent article:
KS2007: Memory management
> Linus cautioned that these system calls might seem like a nice idea, but that nobody would ever use them. In general, he says, Linux-specific extensions tend not be used.
Does any system currently offer a weak_free call? Sometimes Linux has to be the first to do something. Like FUSE, a pretty notable success. (I know Fuse wasn't the first userspace FS... it's the first general purpose API, though, developed on Linux at first and now being adopted by other OSes).
I can understand why weak_free isn't so attractive on desktop systems where stale data is just paged to disk but it seems really handy on smaller systems: MP3 players, video players, phones, etc. Like vomlehn says.
Shame I don't have time to write the patch. All I can do is say that, yes, I would indeed use it if it existed.
(
Log in to post comments)