4

Is there a way to instruct the kernel (Linux kernel) to never swap a certain process that has already been started?

1 Answer 1

3

I don't think you can do this directly from the command line, you would have to do something with the mlock(2) or mlockall(2) functions. There is some discussion of this on stackoverflow here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .