Skip to content

kernel: Use task work to install fd#2905

Merged
aviraxp merged 1 commit into
mainfrom
fd
Nov 10, 2025
Merged

kernel: Use task work to install fd#2905
aviraxp merged 1 commit into
mainfrom
fd

Conversation

@aviraxp

@aviraxp aviraxp commented Nov 10, 2025

Copy link
Copy Markdown
Collaborator

There are many fd related functions that can sleep, so we have no choice but move operations to task work. Also close fd when copy_to_user fails.

@aviraxp aviraxp marked this pull request as draft November 10, 2025 10:13
@aviraxp aviraxp marked this pull request as ready for review November 10, 2025 10:49
@aviraxp aviraxp force-pushed the fd branch 2 times, most recently from c822ddc to 0177dd9 Compare November 10, 2025 10:54
@aviraxp aviraxp requested review from Ylarod and tiann November 10, 2025 10:54
@aviraxp aviraxp marked this pull request as draft November 10, 2025 11:35
There are many fd related functions that can sleep, so we have no choice
but move operations to task work. Also close fd when copy_to_user fails.
@aviraxp aviraxp marked this pull request as ready for review November 10, 2025 11:59
@aviraxp aviraxp merged commit c56a706 into main Nov 10, 2025
15 checks passed
@aviraxp aviraxp deleted the fd branch November 10, 2025 12:24
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.

2 participants