Skip to content

Add cond_resched in block_free_work#299

Open
aversecat wants to merge 1 commit intomainfrom
auke/cond_resched_block_free
Open

Add cond_resched in block_free_work#299
aversecat wants to merge 1 commit intomainfrom
auke/cond_resched_block_free

Conversation

@aversecat
Copy link
Copy Markdown
Contributor

I'm seeing consistent CPU soft lockups in block_free_work on my bare metal system that aren't reached by VM instances. The reason is that the bare metal machine has a ton more memory available causing the block free work queue to grow much larger in size, and then it has so much work that it can take 30+ seconds before it goes through it all.

This is all with a debug kernel. A non debug kernel will likely zoom through the outstanding work here at a much faster rate.

I'm seeing consistent CPU soft lockups in block_free_work on
my bare metal system that aren't reached by VM instances. The
reason is that the bare metal machine has a ton more memory
available causing the block free work queue to grow much
larger in size, and then it has so much work that it can take 30+
seconds before it goes through it all.

This is all with a debug kernel. A non debug kernel will likely
zoom through the outstanding work here at a much faster rate.

Signed-off-by: Auke Kok <auke.kok@versity.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant