Re: [PATCH 7/8] idr: don't need to shink the free list when idr_remove()

2014-04-18 Thread Tejun Heo
On Fri, Apr 18, 2014 at 08:49:54PM +0800, Lai Jiangshan wrote: > After idr subsystem is changed to RCU-awared, the free layer will not go to > the free list. The free list will not be filled up when idr_remove(). > So we don't need to shink it too. > > "#ifndef TEST" can't work for user space test

[PATCH 7/8] idr: don't need to shink the free list when idr_remove()

2014-04-18 Thread Lai Jiangshan
After idr subsystem is changed to RCU-awared, the free layer will not go to the free list. The free list will not be filled up when idr_remove(). So we don't need to shink it too. "#ifndef TEST" can't work for user space test now, just remove it. Signed-off-by: Lai Jiangshan --- lib/idr.c | 1