[PATCH v10 13/16] vrange: Allocate vroot dynamically

2014-01-01 Thread Minchan Kim
This patch allocates vroot dynamically when vrange syscall is called so if anybody doesn't call vrange syscall, we don't waste memory space occupied by vroot. The vroot is allocated by SLAB_DESTROY_BY_RCU, thus because we can't guarantee vroot's validity when we are about to access vroot of a

[PATCH v10 13/16] vrange: Allocate vroot dynamically

2014-01-01 Thread Minchan Kim
This patch allocates vroot dynamically when vrange syscall is called so if anybody doesn't call vrange syscall, we don't waste memory space occupied by vroot. The vroot is allocated by SLAB_DESTROY_BY_RCU, thus because we can't guarantee vroot's validity when we are about to access vroot of a