zhemao / rmem-server

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

Memory Leak in rvm_blk_free #6

Open NathanTP opened 9 years ago

NathanTP commented 9 years ago

rvm_blk_free only frees the first block. The problem is that rvm_alloc() can give out multiple blocks but it doesn't actually keep track of how many it gave out.

A possible solution is to add some info to the block table for this.