f2fs: avoid free slab cache under spinlock
authorChao Yu <chao2.yu@samsung.com>
Wed, 2 Apr 2014 00:55:00 +0000 (08:55 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 2 Apr 2014 00:56:12 +0000 (09:56 +0900)
commitcf0ee0f09bc09f54b9852dda1088b9cdcd4f8683
tree2f816e75d32c40fbaff30fea217ace4bef0001f4
parent6e452d69d421e10e99446c6de16a19604149c40f
f2fs: avoid free slab cache under spinlock

Move kmem_cache_free out of spinlock protection region for better performance.

Change log from v1:
 o remove spinlock protection for kmem_cache_free in destroy_node_manager
suggested by Jaegeuk Kim.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/checkpoint.c
fs/f2fs/node.c