summaryrefslogtreecommitdiff
path: root/include/linux/moduleloader.h
diff options
context:
space:
mode:
authorSergey Senozhatsky <senozhatsky@chromium.org>2025-11-22 10:40:27 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-11-25 02:08:53 +0300
commita4f506c569e1320c2db4a32955e47961fcf02b05 (patch)
tree6a14b30f10e9b5b4df92110a3d7271cbce1ba72b /include/linux/moduleloader.h
parent7c929664fddfdaaa4afe5ae833d0f3044709d95c (diff)
downloadlinux-a4f506c569e1320c2db4a32955e47961fcf02b05.tar.xz
zram: drop wb_limit_lock
We don't need wb_limit_lock. Writeback limit setters take an exclusive write zram init_lock, while wb_limit modifications happen only from a single task and under zram read init_lock. No concurrent wb_limit modifications are possible (we permit only one post-processing task at a time). Add lockdep assertions to wb_limit mutators. While at it, fixup coding styles. Link: https://lkml.kernel.org/r/20251122074029.3948921-5-senozhatsky@chromium.org Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org> Reviewed-by: Brian Geffon <bgeffon@google.com> Cc: Minchan Kim <minchan@google.com> Cc: Richard Chang <richardycc@google.com> Cc: Yuwen Chen <ywen.chen@foxmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/moduleloader.h')
0 files changed, 0 insertions, 0 deletions