linux: tag no_accept4 __read_mostly

This commit is contained in:
Ben Noordhuis 2012-08-21 00:53:05 +02:00
parent 5f8185aba5
commit 6545e9bda4

View File

@ -459,7 +459,7 @@ int uv__accept(int sockfd) {
while (1) {
#if __linux__
static int no_accept4;
static __read_mostly int no_accept4;
if (no_accept4)
goto skip;