Page MenuHomeFreeBSD

buf: Dynamically allocate per-CPU buffer queues
ClosedPublic

Authored by markj on Apr 25 2023, 5:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 27, 5:17 AM
Unknown Object (File)
Fri, Dec 12, 11:12 PM
Unknown Object (File)
Sat, Dec 6, 7:19 AM
Unknown Object (File)
Nov 20 2025, 8:29 PM
Unknown Object (File)
Nov 3 2025, 12:06 AM
Unknown Object (File)
Oct 30 2025, 10:10 AM
Unknown Object (File)
Oct 29 2025, 8:55 AM
Unknown Object (File)
Oct 26 2025, 4:15 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 51182
Build 48073: arc lint + arc unit

Event Timeline

markj requested review of this revision.Apr 25 2023, 5:22 PM
This revision is now accepted and ready to land.Apr 25 2023, 5:25 PM
emaste added inline comments.
sys/kern/vfs_bio.c
121

The comment should perhaps be moved to the allocation? It's really justifying the +1 or mp_maxid + 2 IMO?

kib added inline comments.
sys/kern/vfs_bio.c
121

No, it needs +2, since bd_subq[mp_maxid] is populated by maxid cpu queue.

sys/kern/vfs_bio.c
121

I just meant that the comment is explaining why it's +1 (in main now) or +2 (with mark's change) and should go at line 1917

markj marked 3 inline comments as done.

Move the comment to the right place.

This revision now requires review to proceed.Apr 26 2023, 1:49 PM
This revision is now accepted and ready to land.Apr 26 2023, 1:58 PM