diff options
Diffstat (limited to 'net/rds')
-rw-r--r-- | net/rds/ib_recv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rds/ib_recv.c b/net/rds/ib_recv.c index 9c4208f6b451..37dab2898ad0 100644 --- a/net/rds/ib_recv.c +++ b/net/rds/ib_recv.c | |||
@@ -1051,13 +1051,13 @@ int __init rds_ib_recv_init(void) | |||
1051 | 1051 | ||
1052 | rds_ib_incoming_slab = kmem_cache_create("rds_ib_incoming", | 1052 | rds_ib_incoming_slab = kmem_cache_create("rds_ib_incoming", |
1053 | sizeof(struct rds_ib_incoming), | 1053 | sizeof(struct rds_ib_incoming), |
1054 | 0, 0, NULL); | 1054 | 0, SLAB_HWCACHE_ALIGN, NULL); |
1055 | if (!rds_ib_incoming_slab) | 1055 | if (!rds_ib_incoming_slab) |
1056 | goto out; | 1056 | goto out; |
1057 | 1057 | ||
1058 | rds_ib_frag_slab = kmem_cache_create("rds_ib_frag", | 1058 | rds_ib_frag_slab = kmem_cache_create("rds_ib_frag", |
1059 | sizeof(struct rds_page_frag), | 1059 | sizeof(struct rds_page_frag), |
1060 | 0, 0, NULL); | 1060 | 0, SLAB_HWCACHE_ALIGN, NULL); |
1061 | if (!rds_ib_frag_slab) | 1061 | if (!rds_ib_frag_slab) |
1062 | kmem_cache_destroy(rds_ib_incoming_slab); | 1062 | kmem_cache_destroy(rds_ib_incoming_slab); |
1063 | else | 1063 | else |