glebius
b8ac450ecc
Handle a special case when a slab can fit only one allocation,
...
and zone has a large alignment. With alignment taken into
account uk_rsize will be greater than space in a slab. However,
since we have only one item per slab, it is always naturally
aligned.
Code that will panic before this change with 4k page:
z = uma_zcreate("test", 3984, NULL, NULL, NULL, NULL, 31, 0);
uma_zalloc(z, M_WAITOK);
A practical scenario to hit the panic is a machine with 56 CPUs
and 2 NUMA domains, which yields in zone size of 3984.
PR: 227116
MFC after: 2 weeks
2018-04-02 05:11:59 +00:00
..
2017-11-27 15:23:17 +00:00
2017-11-30 15:45:42 +00:00
2017-11-20 19:43:44 +00:00
2017-11-28 23:40:54 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2018-02-16 15:38:22 +00:00
2017-11-20 19:43:44 +00:00
2018-04-02 05:11:59 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2018-02-07 18:32:51 +00:00
2018-04-01 04:47:05 +00:00
2018-03-29 02:54:50 +00:00
2018-03-29 02:54:50 +00:00
2018-02-06 22:10:07 +00:00
2018-03-26 16:31:12 +00:00
2018-03-24 13:51:27 +00:00
2018-02-09 04:45:39 +00:00
2018-02-06 22:10:07 +00:00
2017-11-30 15:48:35 +00:00
2018-03-30 10:55:31 +00:00
2018-03-30 10:55:31 +00:00
2018-02-23 22:51:51 +00:00
2018-02-12 22:53:00 +00:00
2018-02-07 16:57:10 +00:00
2018-02-06 22:10:07 +00:00
2018-04-01 04:50:05 +00:00
2018-03-04 20:53:20 +00:00
2018-03-29 14:27:40 +00:00
2018-03-16 07:05:09 +00:00
2018-04-01 04:50:05 +00:00
2017-11-30 15:48:35 +00:00
2017-11-20 19:43:44 +00:00
2017-11-30 15:48:35 +00:00
2018-04-01 04:50:05 +00:00
2018-04-01 04:50:05 +00:00
2018-02-06 22:06:59 +00:00
2017-11-27 15:23:17 +00:00
2018-03-23 18:24:02 +00:00
2018-03-22 19:21:11 +00:00
2017-11-30 15:48:35 +00:00
2018-02-07 16:57:10 +00:00
2018-01-12 03:50:44 +00:00
2018-03-27 03:27:02 +00:00
2018-03-29 02:54:50 +00:00
2017-11-20 19:43:44 +00:00