Hi Xiubo, Apologies for the delayed response. Comments below. On Wed, 2017-07-12 at 15:16 +0800, lixiubo@xxxxxxxxxxxxxxxxxxxx wrote: > From: Xiubo Li <lixiubo@xxxxxxxxxxxxxxxxxxxx> > > The fifo type waiter list will hold the udevs who are waiting for the > blocks from the data global pool. The unmap thread will try to feed the > first udevs in waiter list, if the global free blocks available are > not enough, it will stop traversing the list and abort waking up the > others. > > Signed-off-by: Xiubo Li <lixiubo@xxxxxxxxxxxxxxxxxxxx> > --- > drivers/target/target_core_user.c | 104 ++++++++++++++++++++++++++++++++------ > 1 file changed, 88 insertions(+), 16 deletions(-) > Applied to target-pending/for-next. Thanks Xiubo + MNC.