git: dc9756122133 - main - amd64: add md thread flags word

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Tue, 22 Sep 2026 15:41:47 UTC
The branch main has been updated by kib:

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

commit dc975612213369f597449ced5a3c5edabc2aae6d
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-09-18 14:33:54 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-09-22 15:40:40 +0000

    amd64: add md thread flags word
    
    Use a hole in struct mdthread.
    
    Reviewed by:    markj
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D59815
---
 sys/amd64/include/proc.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/amd64/include/proc.h b/sys/amd64/include/proc.h
index 47ad214e40dc..9ecc5da15749 100644
--- a/sys/amd64/include/proc.h
+++ b/sys/amd64/include/proc.h
@@ -69,6 +69,7 @@ struct pmap_invl_gen {
  */
 struct mdthread {
 	int	md_spinlock_count;	/* (k) */
+	int	md_td_flags;		/* (k) */
 	register_t md_saved_flags;	/* (k) */
 	register_t md_spurflt_addr;	/* (k) Spurious page fault address. */
 	struct pmap_invl_gen md_invl_gen;