diff options
author | 2020-10-11 05:45:33 +0000 | |
---|---|---|
committer | 2020-10-11 05:45:33 +0000 | |
commit | 0f5570612629cd6d43c6720866b77252fc86cd80 (patch) | |
tree | 8e8b5824f2bdab46f01d885039afe13c735e3504 /sys/dev/pci/drm/amd/amdgpu/amdgpu_fence.c | |
parent | Fix an assert conditioned on DTLS1_VERSION. (diff) | |
download | wireguard-openbsd-0f5570612629cd6d43c6720866b77252fc86cd80.tar.xz wireguard-openbsd-0f5570612629cd6d43c6720866b77252fc86cd80.zip |
Align pool items on CACHELINESIZE when replacing linux kmem_cache with
SLAB_HWCACHE_ALIGN flag.
tested by semarie@
Diffstat (limited to 'sys/dev/pci/drm/amd/amdgpu/amdgpu_fence.c')
-rw-r--r-- | sys/dev/pci/drm/amd/amdgpu/amdgpu_fence.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_fence.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_fence.c index db3f288a633..7e6c107c244 100644 --- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_fence.c +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_fence.c @@ -69,7 +69,7 @@ int amdgpu_fence_slab_init(void) return -ENOMEM; #else pool_init(&amdgpu_fence_slab, sizeof(struct amdgpu_fence), - 0, IPL_TTY, 0, "amdgpu_fence", NULL); + CACHELINESIZE, IPL_TTY, 0, "amdgpu_fence", NULL); #endif return 0; } |