]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 324072: Add UMA_ALIGNOF().
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 13 Oct 2017 17:11:08 +0000 (17:11 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 13 Oct 2017 17:11:08 +0000 (17:11 +0000)
commit1e3f0b3768ce1c2abb65e40f6f38676ecf6ea309
treef13f4bb710baa6e2579a24819c39a04cc0747d5b
parent5a2c926023263e71a4e891a33bed9473ab858cd9
MFC 324072: Add UMA_ALIGNOF().

This is a wrapper around _Alignof() that sets the alignment for a zone
to the alignment required by a given type.  This allows the compiler to
determine the proper alignment rather than having the programmer try to
guess.

git-svn-id: svn://svn.freebsd.org/base/stable/10@324602 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/vm/uma.h