|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] xen/blkfront: speed up purge_persistent_grants()
On Fri, 11 Mar 2022 11:35:27 +0100, Juergen Gross wrote:
> purge_persistent_grants() is scanning the grants list for persistent
> grants being no longer in use by the backend. When having found such a
> grant, it will be set to "invalid" and pushed to the tail of the list.
>
> Instead of pushing it directly to the end of the list, add it first to
> a temporary list, avoiding to scan those entries again in the main
> list traversal. After having finished the scan, append the temporary
> list to the grant list.
>
> [...]
Applied, thanks!
[1/1] xen/blkfront: speed up purge_persistent_grants()
commit: 85d9abcd7331566781b93ff46e4bccd4806ef2b2
Best regards,
--
Jens Axboe
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |