summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/trivial-getcontextx.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2015-01-12 18:06:22 +0000
committerglebius <glebius@FreeBSD.org>2015-01-12 18:06:22 +0000
commitc7a07214050e325cbf850ffba5bef789b63a6fe8 (patch)
tree0341fd44dd08540d27da1ca8e9c575e3f6c9964c /lib/libc/gen/trivial-getcontextx.c
parent2cf1c6ce95969ce7cdcbe3bbf97a2e7771f2de58 (diff)
downloadFreeBSD-src-c7a07214050e325cbf850ffba5bef789b63a6fe8.zip
FreeBSD-src-c7a07214050e325cbf850ffba5bef789b63a6fe8.tar.gz
Do not go one layer down to check ifqueue length. First, not all drivers
use ifqueue at all. Second, there is no point in this lockless check. Either positive or negative result of the check could be incorrect after a tick. Reviewed by: tuexen Sponsored by: Nginx, Inc.
Diffstat (limited to 'lib/libc/gen/trivial-getcontextx.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud