This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Hitachi djprobe mechanism


> No practical solution has been elaborated for a fully preemptible kernel. Even
> walking on the talk list checking for potential iret pointers is not a good
> idea: If you have a stopped process that has its instruction pointer exactly in
> the wrong area, then you may wait forever.

You only look at runnable processes of course.

> Per cpu workqueue to make sure none is still in interrupt context would, I
> think, do the same as a non maskable IPI but without the busy looping.

Non maskable IPI? What for?

Somehow I have the impression you're trying to do things in the most
complicated imaginable way. But that's not how things in Linux
are done normally.

-Andi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]