Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2021 17:20:26 GMT
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5ca9d4170007 - main - LinuxKPI: Rename a short description of the kmalloc type.
Message-ID:  <202106291720.15THKQZB062387@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dchagin:

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

commit 5ca9d41700078aa0757ee49aafbdd8f52fc96aae
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2021-06-29 17:20:01 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2021-06-29 17:20:01 +0000

    LinuxKPI: Rename a short description of the kmalloc type.
    
    To avoid duplication in the vmstat -m output rename the kmalloc type short
    description to 'lkpikmalloc' as the Linux emulation layer historically names
    its linux malloc type as 'linux'.
    
    Reviewed by:            hselasky, kib, emaste
    Differential Revision:  https://reviews.freebsd.org/D30928
    MFC after:              2 weeks
---
 sys/compat/linuxkpi/common/src/linux_compat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/compat/linuxkpi/common/src/linux_compat.c b/sys/compat/linuxkpi/common/src/linux_compat.c
index 3e1b2e517141..7ea33c9a0d8d 100644
--- a/sys/compat/linuxkpi/common/src/linux_compat.c
+++ b/sys/compat/linuxkpi/common/src/linux_compat.c
@@ -108,7 +108,7 @@ static int lkpi_net_maxpps = 99;
 SYSCTL_INT(_compat_linuxkpi, OID_AUTO, net_ratelimit, CTLFLAG_RWTUN,
     &lkpi_net_maxpps, 0, "Limit number of LinuxKPI net messages per second.");
 
-MALLOC_DEFINE(M_KMALLOC, "linux", "Linux kmalloc compat");
+MALLOC_DEFINE(M_KMALLOC, "lkpikmalloc", "Linux kmalloc compat");
 
 #include <linux/rbtree.h>
 /* Undo Linux compat changes. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106291720.15THKQZB062387>