Fixing some bugs in the slot (de)allocation functions, and in the watermark refilling procedure.
This pull request also introduces a function to compute the current size of a cspace in terms of the number of allocated slots. It is utilised in the sos/src/tests.c:test_cspace function.
Fixing some bugs in the slot (de)allocation functions, and in the watermark refilling procedure.
This pull request also introduces a function to compute the current size of a cspace in terms of the number of allocated slots. It is utilised in the
sos/src/tests.c:test_cspace
function.