git: a770638ecf16 - main - sys/rangelock.h: explicitly enumerate padding at the end of the structure
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 May 2026 19:59:08 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=a770638ecf16515d8922111c3fdd417aba6c045e
commit a770638ecf16515d8922111c3fdd417aba6c045e
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-04-26 02:22:52 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-05-03 19:58:37 +0000
sys/rangelock.h: explicitly enumerate padding at the end of the structure
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision:
---
sys/sys/rangelock.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sys/sys/rangelock.h b/sys/sys/rangelock.h
index 32ccf3427b49..3169c251a495 100644
--- a/sys/sys/rangelock.h
+++ b/sys/sys/rangelock.h
@@ -50,6 +50,9 @@ struct rl_q_entry;
struct rangelock {
uintptr_t head;
bool sleepers;
+ uint8_t resv0;
+ uint16_t resv1;
+ uint32_t resv2;
};
#ifdef _KERNEL