Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jun 2026 10:16:05 +0000
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: eb810be64618 - stable/15 - sys/rangelock.h: explicitly enumerate padding at the end of the structure
Message-ID:  <6a37b9e5.1bebd.4ee37301@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=eb810be64618332a08056691f395d37cd0aaf449

commit eb810be64618332a08056691f395d37cd0aaf449
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-04-26 02:22:52 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-06-21 10:05:31 +0000

    sys/rangelock.h: explicitly enumerate padding at the end of the structure
    
    (cherry picked from commit 3d505310b1bb259c3e5f39d8c88a465cf1403934)
---
 sys/sys/rangelock.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sys/sys/rangelock.h b/sys/sys/rangelock.h
index 32ccf3427b49..ea3d0c26cd30 100644
--- a/sys/sys/rangelock.h
+++ b/sys/sys/rangelock.h
@@ -50,6 +50,12 @@ struct rl_q_entry;
 struct rangelock {
 	uintptr_t head;
 	bool sleepers;
+	uint8_t resv1;
+	uint8_t resv2;
+	uint8_t resv3;
+#if __SIZEOF_LONG__ >= 8
+	uint32_t resv4;
+#endif
 };
 
 #ifdef _KERNEL


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a37b9e5.1bebd.4ee37301>