linux-kernelorg-stable/drivers/md/bcache
Kuan-Wei Chiu 3d8a9a1c35 bcache: update min_heap_callbacks to use default builtin swap
Replace the swp function pointer in the min_heap_callbacks of bcache with
NULL, allowing direct usage of the default builtin swap implementation. 
This modification simplifies the code and improves performance by removing
unnecessary function indirection.

Link: https://lkml.kernel.org/r/20241020040200.939973-8-visitorckw@gmail.com
Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Ching-Chun (Jim) Huang <jserv@ccns.ncku.edu.tw>
Cc: Coly Li <colyli@suse.de>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Cc: "Liang, Kan" <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Matthew Sakai <msakai@redhat.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-11-05 17:12:36 -08:00
..
Kconfig lib/min_heap: introduce non-inline versions of min heap API functions 2024-11-05 17:12:34 -08:00
Makefile
alloc.c bcache: update min_heap_callbacks to use default builtin swap 2024-11-05 17:12:36 -08:00
bcache.h bcache: remove heap-related macros and switch to generic min_heap 2024-06-24 22:25:00 -07:00
bcache_ondisk.h
bset.c bcache: update min_heap_callbacks to use default builtin swap 2024-11-05 17:12:36 -08:00
bset.h bcache: remove heap-related macros and switch to generic min_heap 2024-06-24 22:25:00 -07:00
btree.c bcache: remove heap-related macros and switch to generic min_heap 2024-06-24 22:25:00 -07:00
btree.h
debug.c
debug.h
extents.c bcache: update min_heap_callbacks to use default builtin swap 2024-11-05 17:12:36 -08:00
extents.h
features.c
features.h
io.c
journal.c
journal.h
movinggc.c bcache: update min_heap_callbacks to use default builtin swap 2024-11-05 17:12:36 -08:00
request.c bcache: call force_wake_up_gc() if necessary in check_should_bypass() 2024-05-28 06:55:59 -06:00
request.h
stats.c
stats.h
super.c - In the series "treewide: Refactor heap related implementation", 2024-07-21 17:56:22 -07:00
sysfs.c bcache: remove heap-related macros and switch to generic min_heap 2024-06-24 22:25:00 -07:00
sysfs.h
trace.c
util.c bcache: fix typo 2024-06-24 22:24:56 -07:00
util.h bcache: remove heap-related macros and switch to generic min_heap 2024-06-24 22:25:00 -07:00
writeback.c bcache: remove heap-related macros and switch to generic min_heap 2024-06-24 22:25:00 -07:00
writeback.h