Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start kernel in single threaded mode #498

Open
r00tus3r opened this issue Feb 18, 2022 · 1 comment
Open

Start kernel in single threaded mode #498

r00tus3r opened this issue Feb 18, 2022 · 1 comment

Comments

@r00tus3r
Copy link

Hi, I'm trying to find a way to start the kernel in single thread mode, but haven't been successful. Is it possible to do that?

I found the singlecpu option in here: https://github.com/lkl/linux/blob/master/Documentation/lkl.txt#L226

But I guess that is just single cpu pinning and not single threaded mode?

Also, I asked this question in lkl slack but didn't get a response.

@ddiss
Copy link

ddiss commented May 15, 2024

But I guess that is just single cpu pinning and not single threaded mode?

Yes, lkl generally spawns one host thread for each kernel thread - see tools/lkl/lib/posix-host.c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants