The branch stable/13 has been updated by kib:

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

commit d0ed621ef2ce64394166d9555a28658ba4bd3a33
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2024-01-14 21:00:18 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2024-01-22 05:01:56 +0000

    linuxkpi: correct zone item size for linux_mm_zone
    
    (cherry picked from commit 4958df5dabce62ef4e9e96b0d1bf62f3a6cce689)
---
 sys/compat/linuxkpi/common/src/linux_current.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/compat/linuxkpi/common/src/linux_current.c 
b/sys/compat/linuxkpi/common/src/linux_current.c
index a054d1f40b2a..b193416f5fed 100644
--- a/sys/compat/linuxkpi/common/src/linux_current.c
+++ b/sys/compat/linuxkpi/common/src/linux_current.c
@@ -288,7 +288,7 @@ linux_current_init(void *arg __unused)
        uma_zone_reserve(linux_current_zone, lkpi_task_resrv);
        uma_prealloc(linux_current_zone, lkpi_task_resrv);
        linux_mm_zone = uma_zcreate("lkpimm",
-           sizeof(struct task_struct), NULL, NULL, NULL, NULL,
+           sizeof(struct mm_struct), NULL, NULL, NULL, NULL,
            UMA_ALIGN_PTR, 0);
        uma_zone_reserve(linux_mm_zone, lkpi_task_resrv);
        uma_prealloc(linux_mm_zone, lkpi_task_resrv);

Reply via email to