Skip to content

[kernel] Add BH interrupt check after syscall#2640

Merged
ghaerr merged 1 commit intomasterfrom
bhsyscall
Apr 18, 2026
Merged

[kernel] Add BH interrupt check after syscall#2640
ghaerr merged 1 commit intomasterfrom
bhsyscall

Conversation

@ghaerr
Copy link
Copy Markdown
Owner

@ghaerr ghaerr commented Apr 18, 2026

Discussed with @Mellvik in Mellvik/TLVC#238 (comment) as a result of rewriting the NIC drivers for the new BH architecture, this PR adds a check for any requested bottom half executions occurring during a system call and schedules them immediately after the syscall, before returning to user mode.

This increases networking send speed significantly, since ktcp's write system call of the ethernet packet then gets operated on by the NIC driver directly after the system call.

@ghaerr ghaerr merged commit be2490d into master Apr 18, 2026
1 check passed
@ghaerr ghaerr deleted the bhsyscall branch April 18, 2026 21:44
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