summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/reallocf.c
diff options
context:
space:
mode:
authorsephe <sephe@FreeBSD.org>2016-02-18 07:44:14 +0000
committersephe <sephe@FreeBSD.org>2016-02-18 07:44:14 +0000
commit1d033f316cb6507343722bb7b0d069b0a6062613 (patch)
treec0d7a217fa56feeeb20081d119dc28ab1b0abd2d /lib/libc/stdlib/reallocf.c
parentd132cf04ec42a0805c159e1367742a61a032bfdd (diff)
downloadFreeBSD-src-1d033f316cb6507343722bb7b0d069b0a6062613.zip
FreeBSD-src-1d033f316cb6507343722bb7b0d069b0a6062613.tar.gz
hyperv/hn: Use buf_ring for txdesc list
So one spinlock is avoided, which would be potentially dangerous for virtual machine, if the spinlock holder was scheduled out by the host, as noted by royger. Old spinlock based txdesc list is still kept around, so we could have a safe fallback. No performance regression nor improvement is observed. Reviewed by: adrian Approved by: adrian (mentor) MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D5290
Diffstat (limited to 'lib/libc/stdlib/reallocf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud