Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Comments

Switch workers to system_unbound_wq.#229

Open
byo wants to merge 1 commit intofacebookarchive:master from
ovh:fix-kernel-hang
Open

Switch workers to system_unbound_wq. #229
byo wants to merge 1 commit intofacebookarchive:master from
ovh:fix-kernel-hang

Conversation

@byo
Copy link

@byo byo commented Dec 8, 2017

This patch does greatly reduce the probability of
kernel hang caused by memory reclamation executed
through flashcache's code.

The probability is reduced because io required by memory
reclamation can use thread spawned on different cores.

The correct patch would be to create dedicated workqueue
with WQ_MEM_RECLAIM but this patch is relatively unintruisive
and does provably fix the issue in prodiction environments.

Signed-off-by: Bartłomiej Święcki bartlomiej.swiecki@corp.ovh.com

This patch does greatly reduce the probability of
kernel hang caused by memory reclamation executed
through flashcache's code.
The probability is reduced because io required by memory
reclamation can use thread spawned on different cores.
The correct patch would be to create dedicated workqueue
with WQ_MEM_RECLAIM but this patch is relatively unintruisive
and does provably fix the issue in prodiction environments.
Signed-off-by: Bartłomiej Święcki <bartlomiej.swiecki@corp.ovh.com>
Copy link

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /