On Nov 29, 2013, at 3:44 PM, jb <jb.1234abcd_at_gmail.com> wrote: > Luigi Rizzo <rizzo <at> iet.unipi.it> writes: > >> ... >> There is a difference between applications peeking into >> implementation details that should be hidden, and providing >> instead limited and specific information through a well defined API. >> ... > > Right. > > If you want to improve memory management, that is, have the system (kernel > or user space) handle memory reallocation intelligently and transparently > to the user, then aim at a well defined API: Don’t forget: * Request a block of “at least N bytes” and have the allocator tell you what it *really* allocated. This allows applications to use memory more efficiently by taking advantage of over-allocation when it happens. TimReceived on Sat Nov 30 2013 - 03:38:01 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:44 UTC