From 07310e1a2e38a5c0f45fa45ba08c764382634868 Mon Sep 17 00:00:00 2001 From: Sepherosa Ziehau Date: Mon, 16 Jun 2014 21:08:02 +0800 Subject: [PATCH] inpcb: Cache align inpcbinfo --- sys/netinet/in_pcb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h index 626c7b0261..c43b57dad5 100644 --- a/sys/netinet/in_pcb.h +++ b/sys/netinet/in_pcb.h @@ -318,7 +318,7 @@ struct inpcbinfo { /* XXX documentation, prefixes */ u_int ipi_count; /* number of pcbs in this list */ u_quad_t ipi_gencnt; /* current generation count */ int cpu; /* related protocol thread cpu or -1 */ -}; +} __cachealign; #define INP_PCBCONNHASH(faddr, fport, laddr, lport, mask) \ -- 2.41.0