Searched hist:"56 ae674c" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/f2fs/ |
H A D | node.h | 56ae674c Sat Mar 30 22:47:20 CDT 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> f2fs: remove redundant lock_page calls
In get_node_page, we do not need to call lock_page all the time.
If the node page is cached as uptodate,
1. grab_cache_page locks the page, 2. read_node_page unlocks the page, and 3. lock_page is called for further process.
Let's avoid this.
Reviewed-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com> 56ae674c Sat Mar 30 22:47:20 CDT 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> f2fs: remove redundant lock_page calls In get_node_page, we do not need to call lock_page all the time. If the node page is cached as uptodate, 1. grab_cache_page locks the page, 2. read_node_page unlocks the page, and 3. lock_page is called for further process. Let's avoid this. Reviewed-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
|
H A D | node.c | 56ae674c Sat Mar 30 22:47:20 CDT 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> f2fs: remove redundant lock_page calls
In get_node_page, we do not need to call lock_page all the time.
If the node page is cached as uptodate,
1. grab_cache_page locks the page, 2. read_node_page unlocks the page, and 3. lock_page is called for further process.
Let's avoid this.
Reviewed-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com> 56ae674c Sat Mar 30 22:47:20 CDT 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> f2fs: remove redundant lock_page calls In get_node_page, we do not need to call lock_page all the time. If the node page is cached as uptodate, 1. grab_cache_page locks the page, 2. read_node_page unlocks the page, and 3. lock_page is called for further process. Let's avoid this. Reviewed-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
|