Mouse lags every second heavily under X11
Mouse moves normal for one second, then completely stops for roughly one second, then moves again for a second.
The whole repeats infinitivly.
This commit has no mouse lag: e0a1e7abb95f53e4b0c633f57fbd3ba163a98e73
This commit has mouse lag: d6c92fb146a95bd38feaa94c8d2bafda63600e8e
I first assumed it is either one of the commits related to evdev support, so I reverted them:
But the mouse lag still happens. Next I reverted the recent drm/radeon commit:
But mouse lag still there. So I assume it must be one of dillon's commits on 5th or 6th December.
Anyone else seeing the problem? I can easily bisect the problem, as it's only 6 commits. But maybe dillon can see the problem faster.
Updated by dillon over 3 years ago
- Status changed from New to In Progress
Ugh. It's almost certainly the changes I made to the vm_contig / vm_page contiguous physical memory allocation code. I was trying to deal with a situation the zrj had booting on a 12-socket machine. It wound up forcing the DRM code to do a page scan to find contiguous memory instead of the using alist-based DMA reserve.
I will commit a fix in a moment to go back to using the DMA reserve.