Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 78aaced3 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: don't lock the next page in write_cache_pages if not needed



If we have accumulated a contiguous region of memory to be written
out, and the next page can added to this region, don't bother locking
(and then unlocking the page) before writing out the memory.  In the
unlikely event that the next page was being written back by some other
CPU, we can also skip waiting that page to finish writeback.

Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent ee6ecbcc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment