Files
minix/minix
David van Moolenbroek 5edbea5063 libsys: allow for grant preallocation
Since the grant table is allocated dynamically, a system service always
runs the risk of running out of memory at run time when trying to
allocate a grant.  In order to allow services to mitigate that risk,
grants can now be preallocated, typically at system service startup,
using the new cpf_prealloc(3) libsys function.  The function takes a
'count' parameter that indicates the number of additional grants to
preallocate.  Thus, the function may be called from multiple submodules
within a service, each preallocating their own maximum of grants that
it may need at run time.

Change-Id: I6904726a722a8c27dfe2efa470e683718f310272
2017-04-30 13:15:57 +00:00
..
2014-07-31 16:00:30 +02:00
2017-03-09 23:40:08 +00:00
2017-04-30 13:15:57 +00:00
2017-03-09 23:40:08 +00:00
2014-07-31 16:00:30 +02:00
2017-03-09 23:40:03 +00:00
2017-03-09 23:39:56 +00:00
2014-07-31 16:00:30 +02:00