diff options
author | Liu Xiang | 2019-04-07 11:54:27 -0400 |
---|---|---|
committer | Theodore Ts'o | 2019-04-07 11:54:27 -0400 |
commit | d454a27384f6eb05904a59d1607461b7ad312aa9 (patch) | |
tree | 691f6aca919e9a53777be7cbffeb3b87c694c314 /fs/ntfs/collate.c | |
parent | 742b06b5628f2cd23cb51a034cb54dc33c6162c5 (diff) |
ext4: fix prefetchw of NULL page
In ext4_mpage_readpages(), if the parameter pages is not NULL, another
parameter page is NULL. At the first time prefetchw(&page->flags)
works on NULL. From second time, prefetchw(&page->flags) always works on
the last consumed page. This might do little improvment for handling
current page. So prefetchw() should be called while the page pointer
has just been updated.
Signed-off-by: Liu Xiang <liu.xiang6@zte.com.cn>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ntfs/collate.c')
0 files changed, 0 insertions, 0 deletions