Re: workqueues ....

2018-07-26 Thread Taylor R Campbell
> Date: Thu, 26 Jul 2018 22:57:57 -0700 > From: Phil Nelson > > I'm trying to work with workqueues and am having a locking problem Is this a conceptual problem, or do you have a symptom that you're actually hitting with specific code? If the latter, can you describe the symptom and quote th

workqueues ....

2018-07-26 Thread Phil Nelson
Hello all, I'm trying to work with workqueues and am having a locking problem Lets say I have a function f() as follows: int f() { mutex_enter(&some_mutex); .. code . mutex_exit(&some_mutex); } and now lets say that I start another function runn

Re: Removing dbregs

2018-07-26 Thread Maxime Villard
For the record, I ended up with a functional patch [1]. This removes the reload of DR6/DR7 on each kernel->user transition, and rather does it during context switches, only when dbregs are being used. Tested ATF on i386 and amd64, it works. Kamil wanted to do extra testing, but basically this pat

Re: Removing dbregs

2018-07-26 Thread Kamil Rytarowski
On 26.07.2018 10:45, Maxime Villard wrote: > Le 26/07/2018 à 10:41, Kamil Rytarowski a écrit : >> On 26.07.2018 09:24, Maxime Villard wrote: >>> For the record, I ended up with a functional patch [1]. This removes the >>> reload of DR6/DR7 on each kernel->user transition, and rather does it >>> dur

Re: Removing dbregs

2018-07-26 Thread Maxime Villard
Le 26/07/2018 à 10:41, Kamil Rytarowski a écrit : On 26.07.2018 09:24, Maxime Villard wrote: For the record, I ended up with a functional patch [1]. This removes the reload of DR6/DR7 on each kernel->user transition, and rather does it during context switches, only when dbregs are being used. Te

Re: Removing dbregs

2018-07-26 Thread Kamil Rytarowski
On 26.07.2018 09:24, Maxime Villard wrote: > For the record, I ended up with a functional patch [1]. This removes the > reload of DR6/DR7 on each kernel->user transition, and rather does it > during context switches, only when dbregs are being used. Tested ATF on > i386 and amd64, it works. > > Ka