SVNews r332572

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-04-16 15:07:19 - r332572 by glebius (Gleb Smirnoff)

Complete list of files affected by revision r332572:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

   Contents     MODIFY   /stable/11  
  History   Contents   Diff   MODIFY   /stable/11/sys/vm/uma_core.c  

Commit message:

Merge r331871:
  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 (on head).

PR: 227116

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 16 ms, 2 files printed. Current time is 2018-04-23 15:08:43. All times are in UTC/GMT.