summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorSergey Senozhatsky <senozhatsky@chromium.org>2025-11-22 16:40:28 +0900
committerAndrew Morton <akpm@linux-foundation.org>2025-11-24 15:08:53 -0800
commite87ddea34567dd4e5cb1f2c9e02778485b3c9757 (patch)
treeb453d0a74cdd6fd8e3c698c0be9d11b2b005ff5b /tools/perf/scripts/python/parallel-perf.py
parenta4f506c569e1320c2db4a32955e47961fcf02b05 (diff)
downloadkernel-e87ddea34567dd4e5cb1f2c9e02778485b3c9757.tar.gz
zram: rework bdev block allocation
First, writeback bdev ->bitmap bits are set only from one context, as we can have only one single task performing writeback, so we cannot race with anything else. Remove retry path. Second, we always check ZRAM_WB flag to distinguish writtenback slots, so we should not confuse 0 bdev block index and 0 handle. We can use first bdev block (0 bit) for writeback as well. While at it, give functions slightly more accurate names, as we don't alloc/free anything there, we reserve a block for async writeback or release the block. Link: https://lkml.kernel.org/r/20251122074029.3948921-6-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 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
503e10045c89af951962ea0bb783482663aad'>Merge branch 'setns'Linus Torvalds 2011-05-28ns: Wire up the setns system callEric W. Biederman 2011-05-26ARM: add sendmmsg syscallRussell King 2011-04-15ARM: Add new syscallsRussell King 2010-09-01ARM: 6343/1: wire up fanotify and prlimit64 syscalls on ARMMikael Pettersson 2010-08-15ARM: 6329/1: wire up sys_accept4() on ARMMikael Pettersson