On Wed, May 13, 2015 at 06:30:20AM -0700, roopa wrote:
quoted
This looks like a similar bug i was trying to fix some time back:
http://patchwork.ozlabs.org/patch/362296/
(I am not sure if my full patch is still valid. I was thinking of
re-spining it sometime soon. If you are interested in trying it out,
please do)
It's essentially the same idea but I prefer to use variable remaining
which is already there and is needed anyway rather than introduce
three extra variables for the cleanup (which is quite similar to the
suggestion from Hannes' reply).
I've sent v2 few minutes ago.
Michal Kubecek