[f2fs-dev][PATCH] f2fs: avoid to use slab memory in f2fs_issue_flush for efficiency

2014-05-08 Thread Chao Yu
If we use slab memory in f2fs_issue_flush(), we will face memory pressure and latency time caused by racing of kmem_cache_{alloc,free}. Let's alloc memory in stack instead of slab. Signed-off-by: Chao Yu --- fs/f2fs/segment.c | 28 +--- 1 file changed, 9

[f2fs-dev][PATCH] f2fs: avoid to use slab memory in f2fs_issue_flush for efficiency

2014-05-08 Thread Chao Yu
If we use slab memory in f2fs_issue_flush(), we will face memory pressure and latency time caused by racing of kmem_cache_{alloc,free}. Let's alloc memory in stack instead of slab. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/segment.c | 28 +--- 1 file