]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Revert r269404 and use cpu_ticks() for dbuf allocation.
authordelphij <delphij@FreeBSD.org>
Sun, 3 Aug 2014 09:47:51 +0000 (09:47 +0000)
committerdelphij <delphij@FreeBSD.org>
Sun, 3 Aug 2014 09:47:51 +0000 (09:47 +0000)
commit6ba22f8d1a754be2ddd46bea93f513a0980caa7c
tree0cac2148bcf12b99df5940fed8b56243e7b19ff4
parenta58252fd9a47e60a825c6d5001a1c41528c5d0fa
Revert r269404 and use cpu_ticks() for dbuf allocation.

Encode CPU's number by XOR'ing the CPU ID against the 64-bit cpu_ticks().

Reviewed by: mav, gibbs
Differential Revision: https://phabric.freebsd.org/D521
MFC after: 2 weeks
sys/cddl/compat/opensolaris/sys/time.h
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c