Thread (9 messages) flat view 9 messages, 4 authors, 2020-01-23

Re: [RFC PATCH v1] pin_on_cpu: Introduce thread CPU pinning system call

From: Christopher Lameter <hidden>
Date: 2020-01-21 21:44:31
Also in: linux-kselftest, lkml

These scenarios are all pretty complex and will be difficult to understand
for the user of these APIs.

I think the easiest solution (and most comprehensible) is for the user
space process that does per cpu operations to get some sort of signal. If
its not able to handle that then terminate it. The code makes a basic
assumption after all that the process is running on a specific cpu. If
this is no longer the case then its better to abort if the process cannot
handle moving to a different processor.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help