Re: Raciness with page table shadows being swapped out

2016-12-14 Thread Nicolai Hähnle
On 14.12.2016 15:56, Christian König wrote: Am 14.12.2016 um 15:22 schrieb Nicolai Hähnle: On 13.12.2016 10:48, Christian König wrote: The attached patch has fixed these crashes for me so far, but it's very heavy-handed: it collects all page table shadows and the page directory shadow and adds

Re: Raciness with page table shadows being swapped out

2016-12-14 Thread Christian König
Am 14.12.2016 um 15:22 schrieb Nicolai Hähnle: On 13.12.2016 10:48, Christian König wrote: The attached patch has fixed these crashes for me so far, but it's very heavy-handed: it collects all page table shadows and the page directory shadow and adds them all to the reservations for the callers

Re: Raciness with page table shadows being swapped out

2016-12-14 Thread Nicolai Hähnle
On 13.12.2016 10:48, Christian König wrote: The attached patch has fixed these crashes for me so far, but it's very heavy-handed: it collects all page table shadows and the page directory shadow and adds them all to the reservations for the callers of amdgpu_vm_update_page_directory. That is mo

Re: Raciness with page table shadows being swapped out

2016-12-13 Thread Nicolai Hähnle
On 13.12.2016 10:48, Christian König wrote: The attached patch has fixed these crashes for me so far, but it's very heavy-handed: it collects all page table shadows and the page directory shadow and adds them all to the reservations for the callers of amdgpu_vm_update_page_directory. That is mo

Re: Raciness with page table shadows being swapped out

2016-12-13 Thread Christian König
Am 13.12.2016 um 00:35 schrieb Nicolai Hähnle: On 12.12.2016 19:22, Christian König wrote: Am 12.12.2016 um 16:20 schrieb Nicolai Hähnle: Hi all, I just sent out two patches that hopefully make the kernel module more robust in the face of page table shadows being swapped out. However, even wi

Re: Raciness with page table shadows being swapped out

2016-12-12 Thread Nicolai Hähnle
On 12.12.2016 19:22, Christian König wrote: Am 12.12.2016 um 16:20 schrieb Nicolai Hähnle: Hi all, I just sent out two patches that hopefully make the kernel module more robust in the face of page table shadows being swapped out. However, even with those patches, I can still fairly reliably re

Re: Raciness with page table shadows being swapped out

2016-12-12 Thread Christian König
Am 12.12.2016 um 16:20 schrieb Nicolai Hähnle: Hi all, I just sent out two patches that hopefully make the kernel module more robust in the face of page table shadows being swapped out. However, even with those patches, I can still fairly reliably reproduce crashes with a backtrace of the sh

Raciness with page table shadows being swapped out

2016-12-12 Thread Nicolai Hähnle
Hi all, I just sent out two patches that hopefully make the kernel module more robust in the face of page table shadows being swapped out. However, even with those patches, I can still fairly reliably reproduce crashes with a backtrace of the shape amdgpu_cs_ioctl -> amdgpu_vm_update_page_