diff options
author | Felix Kuehling <[email protected]> | 2017-08-26 02:43:06 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2017-09-26 14:53:20 -0400 |
commit | a2f14820e3493145c25095873d4a510a1b25efdc (patch) | |
tree | 801651223be96004fc4f39ef658c3bd282311ca2 /lib/mpi/mpi-cmp.c | |
parent | 5d86b2c391965cbcb295e8fa795276977b2a416e (diff) |
drm/amdgpu: Track pending retry faults in IH and VM (v2)
IH tracks pending retry faults in a hash table for fast lookup in
interrupt context. Each VM has a short FIFO of pending VM faults for
processing in a bottom half.
The IH prescreening stage adds retry faults and filters out repeated
retry interrupts to minimize the impact of interrupt storms.
It's the VM's responsibility remove pending faults once they are
handled. For now this is only done when the VM is destroyed.
v2:
- Made the hash table smaller and the FIFO longer. I never want the
FIFO to fill up, because that would make prescreen take longer.
128 pending page faults should be enough to keep migrations busy.
Signed-off-by: Felix Kuehling <[email protected]>
Acked-by: Christian König <[email protected]> (v1)
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions