Skip to content

Conversation

BtbN
Copy link

@BtbN BtbN commented Aug 27, 2025

This is a follow-up to #6082 and #6008
I don't have a way to easily reproduce the cache loop detection issue, but I have run into it multiple times.
Looking at the logs and the code, this should hopefully greatly reduce the detph and width the recursion can reach here, hopefully speeding it up in the process.

I have not been able to verify if this actually solves the issue yet. But the change looks sensible to me either way.

@BtbN BtbN force-pushed the loop_detection_fix branch from aaef19f to 9704b7e Compare August 27, 2025 17:59
@tonistiigi
Copy link
Member

@BtbN Can you see if #6129 fixes the issue for you? This whole code should be removed there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants