[prev in list] [next in list] [prev in thread] [next in thread]
List: dragonfly-commits
Subject: git: kernel - Replace kmalloc_cachealign() with kmalloc(... M_CACHEALIGN)
From: Matthew Dillon <dillon () crater ! dragonflybsd ! org>
Date: 2019-07-25 17:33:39
Message-ID: 20190725173339.576437633F7 () crater ! dragonflybsd ! org
[Download RAW message or body]
commit 62938642aa61e5a5d4a479d9157cb975b0557a8f
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Thu Jul 25 10:30:00 2019 -0700
kernel - Replace kmalloc_cachealign() with kmalloc(... M_CACHEALIGN)
* Add M_CACHEALIGN, which ensures that the result is aligned to
a cache line.
* Remove kmalloc_cachealign(), replacing all uses with kmalloc
using M_CACHEALIGN.
Summary of changes:
sys/dev/netif/bce/if_bce.c | 24 ++++++++--------
sys/dev/netif/bnx/if_bnx.c | 14 ++++++----
sys/dev/netif/emx/if_emx.c | 6 ++--
sys/dev/netif/igb/if_igb.c | 18 ++++++------
sys/dev/netif/ix/if_ix.c | 18 ++++++------
sys/dev/netif/jme/if_jme.c | 8 +++---
sys/dev/netif/mxge/if_mxge.c | 8 ++++--
sys/kern/kern_objcache.c | 8 +++---
sys/kern/kern_slaballoc.c | 62 +++++++++++++++++-------------------------
sys/net/if.c | 22 +++++++++------
sys/net/ipfw/ip_fw2.c | 4 +--
sys/netinet/tcp_subr.c | 10 ++++---
sys/netinet/udp_usrreq.c | 4 +--
sys/platform/pc64/apic/lapic.c | 7 +++--
sys/sys/malloc.h | 3 +-
15 files changed, 110 insertions(+), 106 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/62938642aa61e5a5d4a479d9157cb975b0557a8f
--
DragonFly BSD source repository
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic