linux-kernelorg-stable/samples
Honggyu Kim ddba1b6cf4 samples/damon: fix damon sample mtier for start failure
The damon_sample_mtier_start() can fail so we must reset the "enable"
parameter to "false" again for proper rollback.

In such cases, setting Y to "enable" then N triggers the similar crash
with mtier because damon sample start failed but the "enable" stays as Y.

Link: https://lkml.kernel.org/r/20250702000205.1921-4-honggyu.kim@sk.com
Fixes: 82a08bde3c ("samples/damon: implement a DAMON module for memory tiering")
Signed-off-by: Honggyu Kim <honggyu.kim@sk.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-07-09 21:07:55 -07:00
..
acrn
auxdisplay
binderfs
bpf
cgroup
check-exec
configfs
connector
coresight
damon samples/damon: fix damon sample mtier for start failure 2025-07-09 21:07:55 -07:00
fanotify
fprobe
ftrace
hid
hidraw
hung_task
hw_breakpoint
kdb
kfifo
kmemleak
kobject
kprobes
landlock
livepatch
mei
nitro_enclaves
pfsm
pidfd
pktgen
qmi
rpmsg
rust drm for 6.16-rc1 2025-05-28 09:46:39 -07:00
seccomp
timers
trace_events
trace_printk
tsm-mr
uhid
user_events
v4l
vfio-mdev
vfs
watch_queue
watchdog
Kconfig - The 3 patch series "hung_task: extend blocking task stacktrace dump to 2025-05-31 19:12:53 -07:00
Makefile - The 11 patch series "Add folio_mk_pte()" from Matthew Wilcox 2025-05-31 15:44:16 -07:00