Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp7301997imm; Tue, 24 Jul 2018 11:41:42 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcKHcuMyyxU5mwy5AChSquOeKX4tPsYdydVYcKDYN083MEX99WbMWYd/nVnCst4rrifUFoh X-Received: by 2002:a63:4d5:: with SMTP id 204-v6mr17413522pge.129.1532457702692; Tue, 24 Jul 2018 11:41:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532457702; cv=none; d=google.com; s=arc-20160816; b=aGo2mYq56CuXHKOipPAEH5xgt2LPbN+qizvUwBwZACWgHLJ245n1kVc05ixNfGZ7ly j5261m8i8FQd2zSrkzH/hwdaTSrUIcXbiVqmzy2+gAz+jua/T0ms9eUABmNShTflryr1 GwV0x5hiLm91pvXJaBo/eSRcldcysPxcSPyknl275iVfEdY8ZJVybjnQx1XNWTcslHt+ tIzB1IHtZx2zSn0PN7BKQgbwodif0puvgDlKfi+NA1LxCdP3FdguVerxuBQ/MT7QLvOA Fj6gKuQ5q09bf7yWIO97+H/ali9YX3zftqzm7pcP++I0UhN0qp/0kJIc/2USmhrYi3AA T1uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=BBp3dp+81XGOJS5udx0tgoHq3JWXILctLnnxpO8MuwI=; b=oCi68N8FK5ZxMmAbnuPFTHU6RTA1Kspk6hQiNJrzPx9soqb1jH4W9V1Pei4A52h5jt RlGNyDAYnMNph21Bqu15j8W5T5/Im8UTB0ur8tdaDPQeaAq4DPbnC+1btR1aMTsQXcK6 IzI8SjGLRI617BuSlhOT+Twyf1IY/HH1T1coE9ylG79wHIF7TfCKtLrUpA46EDhOFaY6 s6ijam5NTIKoVAqAS3X0QZ1d1herAqMiWDkI4mrP2vkEcSvuHFoKYyZVdSSYmBzlRQaD uCO9w9hlM29P0w47XJWils1EH2BtaKH0HgSzm1F77XLmBPiwie6Pyjm8tNABeUe1L8zL qnew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w18-v6si12246138pfi.88.2018.07.24.11.41.28; Tue, 24 Jul 2018 11:41:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388559AbeGXTsX (ORCPT + 99 others); Tue, 24 Jul 2018 15:48:23 -0400 Received: from www62.your-server.de ([213.133.104.62]:46217 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388419AbeGXTsX (ORCPT ); Tue, 24 Jul 2018 15:48:23 -0400 Received: from [78.46.172.3] (helo=sslproxy06.your-server.de) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85_2) (envelope-from ) id 1fi2Ec-0003Od-Bh; Tue, 24 Jul 2018 20:40:34 +0200 Received: from [99.0.85.34] (helo=localhost.localdomain) by sslproxy06.your-server.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1fi2Eb-000C7M-Ky; Tue, 24 Jul 2018 20:40:34 +0200 Subject: Re: bisected: 4.18-rc* regression: x86-32 troubles (with timers?) To: Meelis Roos Cc: Arnd Bergmann , Linux Kernel list , Networking References: <32227088-7754-c160-8046-e860f42ca91c@iogearbox.net> <4a48811d-4094-ee4c-33ca-2cf0446a6313@iogearbox.net> From: Daniel Borkmann Message-ID: Date: Tue, 24 Jul 2018 20:40:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.100.0/24779/Tue Jul 24 18:43:34 2018) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/24/2018 06:47 AM, Meelis Roos wrote: >>> Anyway, I started compile of v4.18-rc5 that was the latest I tested, >>> with the commit in question reverted. Will see if I can test tomorrow >>> morning. But I will leave tomorrow for a week and can only test further >>> things if they happen to boot fine (no manual reboot possible for a >>> week). >> >> Ok, thanks, please keep us posted on the outcome with the revert. Right >> now I would doubt it's related resp. changes anything on the issue, but >> lets see. > > v4.18-rc5 minus the patch in question worked fine on 2 bootups so it > seems to be good. And this was with CONFIG_BPF_JIT_ALWAYS_ON=y, correct? Could you try the same with this below applied: diff --git a/arch/x86/net/bpf_jit_comp32.c b/arch/x86/net/bpf_jit_comp32.c index 5579987..313c983 100644 --- a/arch/x86/net/bpf_jit_comp32.c +++ b/arch/x86/net/bpf_jit_comp32.c @@ -175,7 +175,7 @@ static const u8 bpf2ia32[][2] = { #define SCRATCH_SIZE 96 /* Total stack size used in JITed code */ -#define _STACK_SIZE (stack_depth + SCRATCH_SIZE) +#define _STACK_SIZE (stack_depth + SCRATCH_SIZE + 4) #define STACK_SIZE ALIGN(_STACK_SIZE, STACK_ALIGNMENT) Thanks, Daniel