The original patch is large due to some code refactoring. Here is a more minimal patch that just shows the functional changes without the refactoring.
You can see the patch:
a) Adds a routine to check the scanout size
b) Adds code to cleanup the large_inactive and scanout lists in a couple places
c) Loops the check for pending events
The original patch is large due to some code refactoring. Here is a more minimal patch that just shows the functional changes without the refactoring.
You can see the patch:
a) Adds a routine to check the scanout size
b) Adds code to cleanup the large_inactive and scanout lists in a couple places
c) Loops the check for pending events