From 6545e9bda46b0b4a7addfb32926eaab6f62e2b4b Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Tue, 21 Aug 2012 00:53:05 +0200 Subject: [PATCH] linux: tag no_accept4 __read_mostly --- src/unix/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/core.c b/src/unix/core.c index 7b2617223..1d6d9caec 100644 --- a/src/unix/core.c +++ b/src/unix/core.c @@ -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;