Re: [Intel-gfx] [PATCH 08/17] drm/i915: Protect the obj->vma.list during iteration

2019-11-19 Thread Mika Kuoppala
Chris Wilson writes: > Take the obj->vma.lock to prevent modifications to the list as we > iterate, to avoid the dreaded the NULL pointer. > > <1>[ 347.820823] BUG: kernel NULL pointer dereference, address: > 0150 > <1>[ 347.820856] #PF: supervisor read access in kernel mode > <1>[

[Intel-gfx] [PATCH 08/17] drm/i915: Protect the obj->vma.list during iteration

2019-11-19 Thread Chris Wilson
Take the obj->vma.lock to prevent modifications to the list as we iterate, to avoid the dreaded the NULL pointer. <1>[ 347.820823] BUG: kernel NULL pointer dereference, address: 0150 <1>[ 347.820856] #PF: supervisor read access in kernel mode <1>[ 347.820874] #PF: error_code(0x