Instead, change memdesc_bio to examine the bio and return a memdesc of
a more generic type describing the data buffer.
Details
Details
- Reviewers
markj imp kib - Commits
- rGc9b19803946e: memdesc: Retire MEMDESC_BIO.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/kern/subr_msan.c | ||
---|---|---|
550 | I will leave the functions, though arguably they need updating for unmapped bios at some point. |
sys/kern/subr_msan.c | ||
---|---|---|
550 | That case is handled implicitly: unmapped BIOs have bio_data == unmapped_buf. In general kmsan_mark()/kmsan_check() are simply no-ops if the address passed in doesn't lie within the kernel map, so even bio_data == NULL would be fine. |