summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2017-07-31 10:29:38 -0400
committerJeff Layton <jlayton@redhat.com>2017-08-01 08:39:29 -0400
commitffb959bbdf923b4f89a08a04aba2501b1b16d164 (patch)
treefa248b66c3b36982ee41ca1c51807b453b4d9e22 /tools/perf/scripts/python/parallel-perf.py
parent3b49c9a1e984b524142afc7536041d8c66877113 (diff)
downloadkernel-ffb959bbdf923b4f89a08a04aba2501b1b16d164.tar.gz
mm: remove optimizations based on i_size in mapping writeback waits
Marcelo added this i_size based optimization with a patch in 2004 (commitid is from the linux-history tree): commit 765dad09b4ac101a32d87af2bb793c3060497d3c Author: Marcelo Tosatti <marcelo.tosatti@cyclades.com> Date: Tue Sep 7 17:51:17 2004 -0700 small wait_on_page_writeback_range() optimization filemap_fdatawait() calls wait_on_page_writeback_range() with -1 as "end" parameter. This is not needed since we know the EOF from the inode. Use that instead. There may be races here, particularly with clustered or network filesystems. It also seems like a bit of a layering violation since we're operating on an address_space here, not an inode. Finally, it's also questionable whether this optimization really helps on workloads that we care about. Should we be optimizing for writeback vs. truncate races in a codepath where we expect to wait anyway? It doesn't seem worth the risk. Remove this optimization from the filemap_fdatawait codepaths. This means that filemap_fdatawait becomes a trivial wrapper around filemap_fdatawait_range. Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
ernel/cpu/resctrl/monitor.c?h=linux-6.12.y&id=c2427e70c1630d98966375fffc2b713ab9768a94'>x86/resctrl: Implement new mba_MBps throttling heuristicTony Luck 2024-01-23x86/resctrl: Read supported bandwidth sources from CPUIDBabu Moger 2023-10-08x86/resctrl: Fix kernel-doc warningsRandy Dunlap 2023-04-28Merge tag 'x86_cache_for_6.4' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds 2023-03-30docs: move x86 documentation into Documentation/arch/Jonathan Corbet 2023-03-15x86/resctrl: Avoid redundant counter read in __mon_event_count()Peter Newman 2023-01-23x86/resctrl: Add interface to write mbm_total_bytes_configBabu Moger 2023-01-23x86/resctrl: Add interface to read mbm_local_bytes_configBabu Moger 2023-01-23x86/resctrl: Add interface to read mbm_total_bytes_configBabu Moger 2023-01-23x86/resctrl: Support monitor configurationBabu Moger 2023-01-23x86/resctrl: Add __init attribute to rdt_get_mon_l3_config()Babu Moger 2023-01-10x86/resctrl: Fix event counts regression in reused RMIDsPeter Newman 2022-09-23x86/resctrl: Make resctrl_arch_rmid_read() return values in bytesJames Morse 2022-09-23x86/resctrl: Add resctrl_rmid_realloc_limit to abstract x86's boot_cpu_dataJames Morse 2022-09-23x86/resctrl: Rename and change the units of resctrl_cqm_thresholdJames Morse 2022-09-23x86/resctrl: Move get_corrected_mbm_count() into resctrl_arch_rmid_read()James Morse 2022-09-23x86/resctrl: Move mbm_overflow_count() into resctrl_arch_rmid_read()James Morse 2022-09-23x86/resctrl: Pass the required parameters into resctrl_arch_rmid_read()James Morse 2022-09-23x86/resctrl: Abstract __rmid_read()James Morse 2022-09-23x86/resctrl: Allow per-rmid arch private storage to be resetJames Morse 2022-09-22x86/resctrl: Calculate bandwidth from the previous __mon_event_count() chunksJames Morse 2022-09-22x86/resctrl: Allow update_mba_bw() to update controls directlyJames Morse 2022-09-22x86/resctrl: Switch over to the resctrl mbps_val listJames Morse 2022-09-22x86/resctrl: Merge mon_capable and mon_enabledJames Morse 2021-12-09x86/resctrl: Remove redundant assignment to variable chunksColin Ian King 2021-08-30Merge tag 'x86_cache_for_v5.15' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds 2021-08-22x86/resctrl: Fix a maybe-uninitialized build warning treated as errorBabu Moger 2021-08-12x86/resctrl: Fix default monitoring groups reportingBabu Moger 2021-08-11x86/resctrl: Make resctrl_arch_get_config() return its valueJames Morse 2021-08-11x86/resctrl: Pass configuration type to resctrl_arch_get_config()James Morse 2021-08-11x86/resctrl: Add a helper to read a closid's configurationJames Morse 2021-08-11x86/resctrl: Split struct rdt_domainJames Morse 2021-08-11x86/resctrl: Split struct rdt_resourceJames Morse 2021-05-05x86/resctrl: Fix init const confusionAndi Kleen 2021-03-21x86: Fix various typos in comments, take #2Ingo Molnar 2021-03-18x86: Fix various typos in commentsIngo Molnar