Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp622637pxf; Wed, 17 Mar 2021 11:47:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpgEFoHaUUO0wNlbiqdoiRewFnCDdkbe0gRuAZkRm43yO6bShjFqLzGwQd9ZCqE9bKyQjJ X-Received: by 2002:aa7:c850:: with SMTP id g16mr43084134edt.324.1616006851332; Wed, 17 Mar 2021 11:47:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616006851; cv=none; d=google.com; s=arc-20160816; b=v4B2oWKliL7WRLkg42hEaC4joQUZpAniFFgZlpkYJvHlS3NdeVJcZPVZ6jlcN0OqMx UGOFQaj73sXujmJ9EIzsKmHdFAX3ZfM/ES4ge1a/Egh2fbsWixikrYmpMnuurGwE4O25 MrhMS66qYOatWHMr2ydf9BMqo8Lu10QVIee4g7FYfheEztboc5yufefYsmFqYESmcu0i Y0ow/GE7qrd5pTbrMHdS7i69XfZTFPlRpiCSUqJsoohUR81+eyOUfsG8w6TexGxjqECN J1Y/wNR8QvJo1FhruPGc51H9/a4wE6KUDiG2rZQQWCKNM7bm8zwNZduj8BHZRoqFthRy Xjtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=BEQbaZSYz4xLrpww0W3Dz03nsGESMKD3WixsGlagTb0=; b=GeDpHFIvGsthG+NksY7lQq0lRFM5+pfHbIEKgeN7iuLJhRgSsJalF/ryU7KASX+Q9U +GUEOWhWWyIliVO2M32JktCEvk9FNXGjv6pIz8ukrcIvOQOZlbWS8xxqvkFIzv7wYDvK FUNENFBxthOoDnFlxKUFQvhtciVg+YWyezhl9liZhpR3+DmbBrJ9TZ0Gexm1vmWmM0aj A/SkmSvtCmjr0xknHX51rNZ6yTaJHd6oMpfZ9HsjzmgTheMPwuKmiFy2ibh9SjCW69V/ Xa9+Kom5J5urO2Ev6Vggi6FQ7ISvCHu7Gk1DsHTEFC58R7BD8LtSrERT4IJbaRr04H5j 0+GQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l18si10832910edc.152.2021.03.17.11.47.06; Wed, 17 Mar 2021 11:47:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232996AbhCQSqJ (ORCPT + 99 others); Wed, 17 Mar 2021 14:46:09 -0400 Received: from foss.arm.com ([217.140.110.172]:43648 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232981AbhCQSpw (ORCPT ); Wed, 17 Mar 2021 14:45:52 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3501ED6E; Wed, 17 Mar 2021 11:45:47 -0700 (PDT) Received: from C02TD0UTHF1T.local (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1F6F53F70D; Wed, 17 Mar 2021 11:45:44 -0700 (PDT) Date: Wed, 17 Mar 2021 18:45:38 +0000 From: Mark Rutland To: Dmitry Vyukov Cc: maz@kernel.org, Will Deacon , Ard Biesheuvel , Linux ARM , Arnd Bergmann , syzkaller , LKML Subject: Re: arm64 syzbot instances Message-ID: <20210317184538.GB2508@C02TD0UTHF1T.local> References: <20210311123315.GF37303@C02TD0UTHF1T.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 11, 2021 at 05:56:46PM +0100, Dmitry Vyukov wrote: > On Thu, Mar 11, 2021 at 1:33 PM Mark Rutland wrote: > > FWIW, I keep my fuzzing config fragment in my fuzzing/* branches on > > git.kernel.org, and for comparison my fragment for v5.12-rc1 is: > > > > https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/commit/?h=fuzzing/5.12-rc1&id=6d9f7f8a2514fe882823fadbe7478228f71d7ab1 > > > > ... I'm not sure whether there's anything in that which is novel to you. > > Hi Mark, > > I've learned about DEBUG_TIMEKEEPING which we had disabled. I am enabling it. > We also have CONTEXT_TRACKING_FORCE disabled. I don't completely > understand what it's doing. Is it also "more debug checks" type of > config? Context tracking tracks user<->kernel transitions, and tries to disable RCU when it is not needed (e.g. while a CPU is in usersspace), to avoid the need to perturb that CPU with IPIs and so on. Normally this is not enabled unless CPUs are set aside for NOHZ usage, as there's some expense in doing this tracking. I haven't measured how expensive it is in practice. CONTEXT_TRACKING_FORCE enables that tracking regardless of whether any CPUs are set aside for NOHZ usage, and makes it easier to find bugs in that tracking code, or where it is not being used correctly (e.g. missed calls, or called in the wrong places). I added it to my debug fragment back when I fixed the arm64 entry code accounting for lockdep, and I keep it around to make sure that we don't accidentally regress any of that. Thanks, Mark. > FWIW we have more debug configs: > https://github.com/google/syzkaller/blob/master/dashboard/config/linux/bits/debug.yml > https://github.com/google/syzkaller/blob/master/dashboard/config/linux/bits/base.yml > https://github.com/google/syzkaller/blob/master/dashboard/config/linux/bits/kasan.yml > https://github.com/google/syzkaller/blob/master/dashboard/config/linux/bits/kmemleak.yml