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/ia64 | |
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/ia64')
-rw-r--r-- | sys/ia64/include/pcpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/ia64/include/pcpu.h b/sys/ia64/include/pcpu.h index 5ad61ba..0f2a6f3 100644 --- a/sys/ia64/include/pcpu.h +++ b/sys/ia64/include/pcpu.h @@ -64,7 +64,8 @@ struct pcpu_md { #define PCPU_MD_FIELDS \ uint32_t pc_acpi_id; /* ACPI CPU id. */ \ - struct pcpu_md pc_md /* MD fields. */ + struct pcpu_md pc_md; /* MD fields. */ \ + char __pad[1265] #ifdef _KERNEL |