zhemao / rmem-server

Remote memory pool over infiniband RDMA
5 stars 1 forks source link

rvm_rec doesn't return allocations in order #2

Open NathanTP opened 9 years ago

NathanTP commented 9 years ago

After changing rvm_free() to reclaim block table space, rvm_rec no longer returns allocations in allocation order. Frankly I'm not wild about the rvm_rec interface in general. It may be better to have it simply return one guaranteed allocation (maybe just a void* that the user can fill in). Unfortunately this is going to be pretty clunky until we get pointers to work.