diff options
author | glebius <glebius@FreeBSD.org> | 2013-04-08 19:19:10 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-04-08 19:19:10 +0000 |
commit | 8c6eba117e357de0d074eaba6b730cc2261cd9e0 (patch) | |
tree | 417e1a1bd53ca195c061caab891a3d8d940beb2b /sys/sparc64/include | |
parent | 7f9db020a246190e72c9b9656997403221c48a3a (diff) | |
download | FreeBSD-src-8c6eba117e357de0d074eaba6b730cc2261cd9e0.zip FreeBSD-src-8c6eba117e357de0d074eaba6b730cc2261cd9e0.tar.gz |
Merge from projects/counters:
Pad struct pcpu so that its size is denominator of PAGE_SIZE. This
is done to reduce memory waste in UMA_PCPU_ZONE zones.
Sponsored by: Nginx, Inc.
Diffstat (limited to 'sys/sparc64/include')
-rw-r--r-- | sys/sparc64/include/pcpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sparc64/include/pcpu.h b/sys/sparc64/include/pcpu.h index 033f7e5..dbcc59c 100644 --- a/sys/sparc64/include/pcpu.h +++ b/sys/sparc64/include/pcpu.h @@ -60,7 +60,8 @@ struct pmap; u_int pc_node; \ u_int pc_tlb_ctx; \ u_int pc_tlb_ctx_max; \ - u_int pc_tlb_ctx_min + u_int pc_tlb_ctx_min; \ + char __pad[405] #ifdef _KERNEL |