Re: [PATCH] drm/i915: drop the coditional mutex

2013-04-08 Thread Sebastian Andrzej Siewior
* Daniel Vetter | 2013-04-02 15:47:02 [+0200]: >On Tue, Apr 02, 2013 at 03:30:58PM +0200, Sebastian Andrzej Siewior wrote: >> mutex_is_locked_by() checks the owner of the lock against current. This >> is done by accessing a private member of struct mutex which works on >> mainline but does not on

[PATCH] drm/i915: drop the coditional mutex

2013-04-08 Thread Daniel Vetter
On Mon, Apr 8, 2013 at 8:58 PM, Sebastian Andrzej Siewior wrote: > * Daniel Vetter | 2013-04-02 15:47:02 [+0200]: >>On Tue, Apr 02, 2013 at 03:30:58PM +0200, Sebastian Andrzej Siewior wrote: >>> mutex_is_locked_by() checks the owner of the lock against current. This >>> is done by accessing a priv

[PATCH] drm/i915: drop the coditional mutex

2013-04-08 Thread Sebastian Andrzej Siewior
* Daniel Vetter | 2013-04-02 15:47:02 [+0200]: >On Tue, Apr 02, 2013 at 03:30:58PM +0200, Sebastian Andrzej Siewior wrote: >> mutex_is_locked_by() checks the owner of the lock against current. This >> is done by accessing a private member of struct mutex which works on >> mainline but does not on

Re: [PATCH] drm/i915: drop the coditional mutex

2013-04-08 Thread Daniel Vetter
On Mon, Apr 8, 2013 at 8:58 PM, Sebastian Andrzej Siewior wrote: > * Daniel Vetter | 2013-04-02 15:47:02 [+0200]: >>On Tue, Apr 02, 2013 at 03:30:58PM +0200, Sebastian Andrzej Siewior wrote: >>> mutex_is_locked_by() checks the owner of the lock against current. This >>> is done by accessing a priv

[PATCH] drm/i915: drop the coditional mutex

2013-04-02 Thread Sebastian Andrzej Siewior
mutex_is_locked_by() checks the owner of the lock against current. This is done by accessing a private member of struct mutex which works on mainline but does not on RT. I did not figure out, why this "lock-owner-check" and the "lock stealing flag" is required. If the lock can not be acquire the lo

[PATCH] drm/i915: drop the coditional mutex

2013-04-02 Thread Daniel Vetter
On Tue, Apr 02, 2013 at 03:30:58PM +0200, Sebastian Andrzej Siewior wrote: > mutex_is_locked_by() checks the owner of the lock against current. This > is done by accessing a private member of struct mutex which works on > mainline but does not on RT. > I did not figure out, why this "lock-owner-che

[PATCH] drm/i915: drop the coditional mutex

2013-04-02 Thread Sebastian Andrzej Siewior
mutex_is_locked_by() checks the owner of the lock against current. This is done by accessing a private member of struct mutex which works on mainline but does not on RT. I did not figure out, why this "lock-owner-check" and the "lock stealing flag" is required. If the lock can not be acquire the lo

Re: [PATCH] drm/i915: drop the coditional mutex

2013-04-02 Thread Daniel Vetter
On Tue, Apr 02, 2013 at 03:30:58PM +0200, Sebastian Andrzej Siewior wrote: > mutex_is_locked_by() checks the owner of the lock against current. This > is done by accessing a private member of struct mutex which works on > mainline but does not on RT. > I did not figure out, why this "lock-owner-che