kcsan_check_read_write(9)
π kcsan_check_read_write(9) π
okay bestie, welcome to the Kernel API Manual β this one is a whole vibe check for memory access, stay with me π«Ά
β¨ NAME β¨
kcsan_check_read_write β check regular read-write access for races π₯
like, it's literally the function that goes "hey bestie, is anyone else touching this memory rn?" π
πΈ SYNOPSIS πΈ
kcsan_check_read_write (ptr , size );
that's it. that's the whole call. iconic. π
π ARGUMENTS π
ptrβ address of access π like, where the memory lives, the actual spot bestiesizeβ size of access π how many bytes we're looking at, no cap
π¦ SEE ALSO π¦
this family is huge, okay, it's giving extended universe π so buckle up:
The Kernel file ./include/linux/kcsan-checks.h plus:
__kcsan_check_access(9)__kcsan_mb(9)__kcsan_wmb(9)__kcsan_rmb(9)__kcsan_release(9)kcsan_disable_current(9)kcsan_enable_current(9)kcsan_nestable_atomic_begin(9)kcsan_nestable_atomic_end(9)kcsan_flat_atomic_begin(9)kcsan_flat_atomic_end(9)kcsan_atomic_next(9)kcsan_set_access_mask(9)kcsan_begin_scoped_access(9)kcsan_end_scoped_access(9)__kcsan_check_read(9)__kcsan_check_write(9)__kcsan_check_read_write(9)kcsan_check_read(9)kcsan_check_write(9)ASSERT_EXCLUSIVE_WRITER(9)ASSERT_EXCLUSIVE_WRITER_SCOPED(9)ASSERT_EXCLUSIVE_ACCESS(9)ASSERT_EXCLUSIVE_ACCESS_SCOPED(9)ASSERT_EXCLUSIVE_BITS(9)
go read the whole squad, iykyk π
okay that's the page!! mwah π this one shipped from ./include/linux, dated October 2026, and it's the kcsan_check_read_write(9) manual entry β slay, bye bestie πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms