Skip to content

Commit 5c74652

Browse files
author
Octavian Purdila
committed
lkl tools: lklfuse: disabled multihreaded mode
We can't properly support it because multithreading LKL leaks threads and the number of concurrent threads is limited to the maximum numbers of interrupts (64 on 64bit systems, 32 otherwise). Signed-off-by: Octavian Purdila <[email protected]>
1 parent 0869aa7 commit 5c74652

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/lkl/lklfuse.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -623,9 +623,9 @@ int main(int argc, char **argv)
623623
}
624624

625625
if (mt)
626-
ret = fuse_loop_mt(fuse);
627-
else
628-
ret = fuse_loop(fuse);
626+
fprintf(stderr, "warning: multithreaded mode not supported\n");
627+
628+
ret = fuse_loop(fuse);
629629

630630
stop_lkl();
631631

0 commit comments

Comments
 (0)