summaryrefslogtreecommitdiffstats
path: root/Documentation/cachetlb.txt
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2010-10-28 03:30:03 +0200
committerTheodore Ts'o <tytso@mit.edu>2010-10-28 03:30:03 +0200
commit659c6009ca2e3a01acc9881bafe5f55ef09c965b (patch)
treec7d6b0a8cfb8f5979f3f8d0e0e5122ffd9c688be /Documentation/cachetlb.txt
parentext4: use dedicated slab caches for group_info structures (diff)
downloadlinux-659c6009ca2e3a01acc9881bafe5f55ef09c965b.tar.xz
linux-659c6009ca2e3a01acc9881bafe5f55ef09c965b.zip
ext4: stop looping in ext4_num_dirty_pages when max_pages reached
Today we simply break out of the inner loop when we have accumulated max_pages; this keeps scanning forwad and doing pagevec_lookup_tag() in the while (!done) loop, this does potentially a lot of work with no net effect. When we have accumulated max_pages, just clean up and return. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'Documentation/cachetlb.txt')
0 files changed, 0 insertions, 0 deletions