Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 May 2026 19:59:08 +0000
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: a770638ecf16 - main - sys/rangelock.h: explicitly enumerate padding at the end of the structure
Message-ID:  <69f7a90c.4078a.1d3a3156@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f7a90c.4078a.1d3a3156>