Re: Push back kernel lock a bit in amd64 pageflttrap()

2020-09-25 Thread Martin Pieuchot
On 24/09/20(Thu) 16:35, Mark Kettenis wrote: > This avoids taking the kernel lock when ci_inatomic is set. This > might speed up inteldrm(4) a bit. Since uvm_grow() still needs the > kernel lock, some reorganization of the code is necessary. > > I'm not sure this actaully has an impact. If we

Push back kernel lock a bit in amd64 pageflttrap()

2020-09-24 Thread Mark Kettenis
This avoids taking the kernel lock when ci_inatomic is set. This might speed up inteldrm(4) a bit. Since uvm_grow() still needs the kernel lock, some reorganization of the code is necessary. I'm not sure this actaully has an impact. If we end up here with ci_inatomic set we're going to return