From nobody Mon Jan 15 12:13:59 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TD9zX0SSbz56ngG; Mon, 15 Jan 2024 12:14:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TD9zW4pG6z4Q3n; Mon, 15 Jan 2024 12:13:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705320839; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mcA6OPHYcrI1/Oxw0hFMD9ctChuAIe3madERnRepnhg=; b=IPlxGKtydfD2AN5YbhVQckFTu9QJSq+XmWtwNcsvU92NI3Y9BlKUghx+w5iHkpTVTGIr/3 lxlMlndK3k0FUdaqw3y4rouyC+dt5WGeuDFCJ4fdMFveJJ2xgKiKoFqZf35LLuA2KIFhBl A1iziOpqSAOkkPgbEkXwmfByBtAJYjp8Bvs1ytHzoUJ7x82xOfU6oBJmLEnfnIs6OdFAPC 20G3IwBbYNiUCBLjwDzddKKT4TcdkFTF8GgNt1V0c4MbgtsOERd6on2u8SS4X9zx8S2yGE FKIQiIsP5s0ZGYVCT43CVhmdfzu7APtt4TsUc04cF9bMz/zxGSIj2TB8s+soBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705320839; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mcA6OPHYcrI1/Oxw0hFMD9ctChuAIe3madERnRepnhg=; b=tDfLfPbFlb6cuOpOJwxK3gC09VePZBm9PT/z5xA5M1tXECVK6aKDZ/YZx4EVWdoIfZUnuR rjwdorbUn4bpRW6sDccDdrdNScNAmbR8T44Xu3JtoR6n9zCm0efnqKlKGgHUvOkq+XNYlZ fCzNnXrehSY71NvfE/nlL1KMngSDn/LGrBnaOa3to1IP8paI1BrsmgtFda3NV3d4D9kOMe V4X+agO7pGt2dv+PwQQ1onChW1OPCUFCGLCvmAZRO6O+ifo8xhBzTg8qRfHZyxukvmFjuD KEqaI193z3b5UZNmyVJfTnR/0ysrSNrcotsVpE01Vj0z0z05JpB3vlvgMbw2dQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705320839; a=rsa-sha256; cv=none; b=SpUepE9WnZDsbjJ+kTAWEhedsF8yB55+2PzlmRuazvLCGRugFgW2oOGUtI3dPJWiDa5+Xi bX5NH9dtGmPO3VdavOmlcuo7yosddegDZY0ZLsz71a7EZtDHNjjvqPL73dXu+A+4rR4dRY NWMmcV0AoKP8P2ihxQSR0ntFEy6hvdR3ef7+Enq1cVtbt4eZs0v3/7GcfaxI7hPlCM/gO/ eFqxgSlNjERf7nbnMrc+fg0f28MwMe3T6F10PHlxG2xaXNRxoVPANqrJn58wG6VQHZKBa5 NNdQE856fqUhPwJ8D03lccYq965hypv8Vbw2yWYPI3XCb7g+lj5kCLLL4CpS4w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TD9zW3v69zwG0; Mon, 15 Jan 2024 12:13:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40FCDxRq090527; Mon, 15 Jan 2024 12:13:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40FCDxMb090524; Mon, 15 Jan 2024 12:13:59 GMT (envelope-from git) Date: Mon, 15 Jan 2024 12:13:59 GMT Message-Id: <202401151213.40FCDxMb090524@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 4958df5dabce - main - linuxkpi: correct zone item size for linux_mm_zone List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4958df5dabce62ef4e9e96b0d1bf62f3a6cce689 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=4958df5dabce62ef4e9e96b0d1bf62f3a6cce689 commit 4958df5dabce62ef4e9e96b0d1bf62f3a6cce689 Author: Konstantin Belousov AuthorDate: 2024-01-14 21:00:18 +0000 Commit: Konstantin Belousov CommitDate: 2024-01-15 11:59:50 +0000 linuxkpi: correct zone item size for linux_mm_zone Reviewed by: manu, markj Sponsored by: NVidia networking MFC after: 1 week Differential revision: https://reviews.freebsd.org/D43455 --- 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 04ad4e30aa54..64b5b8be4c6a 100644 --- a/sys/compat/linuxkpi/common/src/linux_current.c +++ b/sys/compat/linuxkpi/common/src/linux_current.c @@ -315,7 +315,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);