summaryrefslogtreecommitdiff
path: root/include/linux/memory_hotplug.h
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-10-17 18:32:47 +0300
committerDavid Sterba <dsterba@suse.com>2025-11-25 00:08:46 +0300
commit49f204be223b8bae5dd3d99f86c1ea649ce58aab (patch)
tree16123b19a15b78b356b0b065bf5abb1a50b6a14e /include/linux/memory_hotplug.h
parent6f4779faa0c19c3a6ed0d52cb0f068ae891d7bb9 (diff)
downloadlinux-49f204be223b8bae5dd3d99f86c1ea649ce58aab.tar.xz
btrfs: bail out earlier from need_preemptive_reclaim() if we have tickets
Instead of doing some calculations and then return false if it turns out we have queued tickets, check first if we have tickets and return false immediately if we have tickets, without wasting time on doing those computations. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/linux/memory_hotplug.h')
0 files changed, 0 insertions, 0 deletions