On 08/30/2016 07:53 AM, Peter Zijlstra wrote:
On Mon, Aug 29, 2016 at 05:41:09PM +0200, Peter Zijlstra wrote:
On Fri, Aug 26, 2016 at 07:40:34PM -0400, Waiman Long wrote:
On 08/26/2016 11:18 AM, Peter Zijlstra wrote:
Still need to look at adding spinning to the handoff case.
Also need to look
On Mon, Aug 29, 2016 at 05:41:09PM +0200, Peter Zijlstra wrote:
> On Fri, Aug 26, 2016 at 07:40:34PM -0400, Waiman Long wrote:
> > On 08/26/2016 11:18 AM, Peter Zijlstra wrote:
>
> > >Still need to look at adding spinning to the handoff case.
> > >Also need to look at writing (much) better changel
On Fri, Aug 26, 2016 at 07:40:34PM -0400, Waiman Long wrote:
> On 08/26/2016 11:18 AM, Peter Zijlstra wrote:
> >Still need to look at adding spinning to the handoff case.
> >Also need to look at writing (much) better changelogs, they stink.
> >
>
> I have looked at the handoff code and I didn't s
On 08/26/2016 11:18 AM, Peter Zijlstra wrote:
On Fri, Aug 26, 2016 at 10:30:31AM -0400, Waiman Long wrote:
On 08/25/2016 06:23 PM, Peter Zijlstra wrote:
You're right.. I'll try again tomorrow.
Actually, it is also OK to handoff from NULL=>new, but nothing else is
appropriate.
I pushed out new
On Fri, Aug 26, 2016 at 10:30:31AM -0400, Waiman Long wrote:
> On 08/25/2016 06:23 PM, Peter Zijlstra wrote:
> >You're right.. I'll try again tomorrow.
>
> Actually, it is also OK to handoff from NULL=>new, but nothing else is
> appropriate.
I pushed out new patches to git, could you have a peek
On 08/25/2016 06:23 PM, Peter Zijlstra wrote:
On Thu, Aug 25, 2016 at 06:00:19PM -0400, Waiman Long wrote:
On 08/25/2016 02:37 PM, Peter Zijlstra wrote:
@@ -468,9 +496,12 @@ void __sched mutex_unlock(struct mutex *
DEBUG_LOCKS_WARN_ON(__mutex_owner(lock) != current);
#endif
- o
On Thu, Aug 25, 2016 at 06:00:19PM -0400, Waiman Long wrote:
> On 08/25/2016 02:37 PM, Peter Zijlstra wrote:
> >@@ -468,9 +496,12 @@ void __sched mutex_unlock(struct mutex *
> > DEBUG_LOCKS_WARN_ON(__mutex_owner(lock) != current);
> > #endif
> >
> >-owner = atomic_long_fetch_and(MUTEX_FLAG
On 08/25/2016 02:37 PM, Peter Zijlstra wrote:
@@ -468,9 +496,12 @@ void __sched mutex_unlock(struct mutex *
DEBUG_LOCKS_WARN_ON(__mutex_owner(lock) != current);
#endif
- owner = atomic_long_fetch_and(MUTEX_FLAGS,&lock->owner);
+ owner = atomic_long_read(&lock->owner);
+
8 matches
Mail list logo