Date: Wed, 4 Nov 2020 23:29:27 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r367355 - head/sys/mips/mips Message-ID: <202011042329.0A4NTRBb057326@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Wed Nov 4 23:29:27 2020 New Revision: 367355 URL: https://svnweb.freebsd.org/changeset/base/367355 Log: Fix UMA alignment for COP2 context structure. UMA alignment needs specified as (power-of-2) - 1, not power-of-2. Discussed with: gonzo MFC after: 3 days Modified: head/sys/mips/mips/octeon_cop2.c Modified: head/sys/mips/mips/octeon_cop2.c ============================================================================== --- head/sys/mips/mips/octeon_cop2.c Wed Nov 4 23:26:15 2020 (r367354) +++ head/sys/mips/mips/octeon_cop2.c Wed Nov 4 23:29:27 2020 (r367355) @@ -46,7 +46,7 @@ octeon_cop2_init(void* dummy) printf("Create COP2 context zone\n"); ctxzone = uma_zcreate("COP2 context", sizeof(struct octeon_cop2_state), - NULL, NULL, NULL, NULL, 8, 0); + NULL, NULL, NULL, NULL, UMA_ALIGN_LONG, 0); } struct octeon_cop2_state *
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011042329.0A4NTRBb057326>