[DRM] drm_get_connector_name internal static string buffer causes a race

2014-03-25 Thread Daniel Vetter
just cause headaches. -Daniel > > From: Daniel Vetter on behalf of Daniel Vetter > > Sent: Tuesday, March 25, 2014 2:43 PM > To: Dmitry Malkin > Cc: Daniel Vetter; dri-devel at lists.freedesktop.org > Subject: Re: [DRM] drm_get_connector_name internal static string buffe

[DRM] drm_get_connector_name internal static string buffer causes a race

2014-03-25 Thread Jani Nikula
On Mon, 24 Mar 2014, Daniel Vetter wrote: > On Mon, Mar 24, 2014 at 12:06:21PM +, Dmitry Malkin wrote: >> >> Hello guys, >> >> I've been playing with reloading intel gfx driver (i915) in a cycle, >> for a while, and at some point I've found a non-deterministic kernel >> crash with a highly-v

[DRM] drm_get_connector_name internal static string buffer causes a race

2014-03-25 Thread Daniel Vetter
] RIP [] > 0x8803eb27fcb0 > Mar 20 21:53:39 haswell01 kernel: [13457.334166] RSP > Mar 20 21:53:39 haswell01 kernel: [13457.334167] CR2: 8803eb27fcb0 > Mar 20 21:53:39 haswell01 kernel: [13457.334168] ---[ end trace > e2598b1fc83a65fd ]--- > > > __

[DRM] drm_get_connector_name internal static string buffer causes a race

2014-03-25 Thread Dmitry Malkin
Vetter; dri-devel at lists.freedesktop.org Subject: Re: [DRM] drm_get_connector_name internal static string buffer causes a race On Tue, Mar 25, 2014 at 08:08:23AM +, Dmitry Malkin wrote: > Hello, Daniel, > > Thank you for response. I've got a couple questions for you: > >

[DRM] drm_get_connector_name internal static string buffer causes a race

2014-03-25 Thread Dmitry Malkin
end trace e2598b1fc83a65fd ]--- From: Daniel Vetter on behalf of Daniel Vetter Sent: Tuesday, March 25, 2014 12:31 AM To: Dmitry Malkin Cc: dri-devel at lists.freedesktop.org Subject: Re: [DRM] drm_get_connector_name internal static string buffer causes a race On Mon,

[DRM] drm_get_connector_name internal static string buffer causes a race

2014-03-24 Thread Daniel Vetter
On Mon, Mar 24, 2014 at 12:06:21PM +, Dmitry Malkin wrote: > > Hello guys, > > I've been playing with reloading intel gfx driver (i915) in a cycle, for a > while, > and at some point I've found a non-deterministic kernel crash with a > highly-variable > iteration dependency -- 2 to 200 driv

[DRM] drm_get_connector_name internal static string buffer causes a race

2014-03-24 Thread Dmitry Malkin
Hello guys, I've been playing with reloading intel gfx driver (i915) in a cycle, for a while, and at some point I've found a non-deterministic kernel crash with a highly-variable iteration dependency -- 2 to 200 driver reload iterations. The apparent race is over the shared internal string buf