Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp533608rdg; Tue, 10 Oct 2023 19:21:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH2j+0+oay+Dq295lHOzpnPFDInuimZgqGh5Un/zQf9FuJEEUgX/mimsSvSM4lxbV5wZtJc X-Received: by 2002:a17:90a:6343:b0:279:104d:1473 with SMTP id v3-20020a17090a634300b00279104d1473mr16737387pjs.45.1696990885763; Tue, 10 Oct 2023 19:21:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696990885; cv=none; d=google.com; s=arc-20160816; b=E6UiZ+cm0EqG6FRwSHWUkMNoUH/bHVrFqIhvGpJKIX7Th3RddKkkF8UBnNgN9fzeI4 FwKApYR9NXJGCVV5StgsfzA2jHntQ6SZinxRvtCvO2Bgjr+KJcNve2Hivm76mqM1lTpF OvHTZV0EsDx+iMyq03ldOKrXlOGwUcLF2/pLySzipbUHwkf6Hgc/cnxIKSekBCyv5lih B5LXVOsGhB1JH2xAnGukRnzDxWIRc5NkeHLit+pxd/dAwCR3FJSpUKmrNY3yNuObdy8O 2/E3zB4/zydWK27AeHB1zP6J0/8H3DyE9dvRIoFAuzSy5QnwHnbYq2EyOwWgys1Bd3WP VbLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ECF3/1WilG3oPuCuQT95CHRb45iMre03wS/vbNRxGFU=; fh=d7Sgjz1MSWFuEWsoWGTxTFKHU6D3sO1OzJSPqxdemf4=; b=cPCy8zyoKdcbT+GLCixOxh6BPNqAipATgEKCuEbc8UtOIqZFON+CKfFnOoEJK4fXCj 5fj6TcmxTeop0fj1JgjYz+Gei87f/U9noETNXHB3+K+CcXqIcVC1BhbteMtIagJ7vPit vl9xBYRs0NiGwwzKCv7EeUOIfGZ30nwht5FgNRsIQVz6o+P9MH1LEVtZdun9oFLrxbpS 7JZC332XE0qDyyH+fPNDkYcnXiPzRsrQA0EKBKgHcDAIhtmbGy4bqYrnW6c5AZQo57V7 wvh1QSdZ8n3s3TXla9v3tV0mS/J79fZHp/wukY4YZl3tWzA8KNxjluAlhNyJEuxaGbdg 2QZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=MyVIx+kl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id mz14-20020a17090b378e00b00278f7d7cd43si13326085pjb.168.2023.10.10.19.21.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 19:21:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=MyVIx+kl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 1D9068119D1D; Tue, 10 Oct 2023 19:21:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344814AbjJKCVQ (ORCPT + 99 others); Tue, 10 Oct 2023 22:21:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344739AbjJKCVQ (ORCPT ); Tue, 10 Oct 2023 22:21:16 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5144B94; Tue, 10 Oct 2023 19:21:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ECF3/1WilG3oPuCuQT95CHRb45iMre03wS/vbNRxGFU=; b=MyVIx+klhdf+TiAhgT+Rt8tolB vCapYA9ODnH0R/7PAEM1nJC1uN27r3bDSc3yDt+P2Aw9NTrQUXiM6qyZwQm7/pjADj8FC7LciRwEC 664mxoRJzI8Xj8m3PBh0aY7+ZC6s7U77HEDTju9qCnVtLdA0Q7+QMTRbng8UQkKKab1sfNOuLGW3z ebN0CWekKymRFWshTAlTEkXoLHMvgPzHwkd7cgembcawXDiS5spd9i8eRm6+IN1royT+QFABenq1r +Wg2EETZ4kE4kG3wtiVxKFD18/O+zWVOJ2bW4cRaCf4xQVQ+WQOn5nZxBimqJpdXzq2fVdsRoS2rN l5ReAb3A==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qqOqX-00EZyf-0C; Wed, 11 Oct 2023 02:21:13 +0000 Date: Tue, 10 Oct 2023 19:21:13 -0700 From: Luis Chamberlain To: "Joey Jiao (QUIC)" Cc: "linux-modules@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] module: Add CONFIG_MODULE_LOAD_IN_SEQUENCE option Message-ID: References: <20231009045636.4143-1-quic_jiangenj@quicinc.com> <49a0f7c36d8d41abb1204b0780667fe0@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49a0f7c36d8d41abb1204b0780667fe0@quicinc.com> Sender: Luis Chamberlain X-Spam-Status: No, score=2.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 10 Oct 2023 19:21:23 -0700 (PDT) X-Spam-Level: ** Please find a good email client to reply to patches. On Wed, Oct 11, 2023 at 01:57:58AM +0000, Joey Jiao (QUIC) wrote: > Hi Luis, > > > How is ignoring an error ensuring ordering? > The change is just to disable the schedule_work. That's different and can be made clearer. Try: if (!IS_ENABLED(CONFIG_FOO)) schedule_stuff > > Why are you making this only now be called with this new kconfig option? > This sequence loading is especially helpful for syzkaller coverage decoding. > When kaslr is disabled, address inside core kernel is fixed, so syzkaller can always get right function/line number from addr2line. > But module address keeps change across rebooting, in first booting, it might be loaded at X1, and at X2 after reboot, and at X3 after another reboot. > In this way, syzkaller just can't decode correctly for module address. And syzkaller currently uses PC and branch info for coverage guided things. > > There was a discussion previously here https://groups.google.com/g/syzkaller/c/1Pnm_BjrZO8/m/WOyAKx8ZAgAJ for modprobe. You are missing my point, you are disabling in effect a piece of code where it was not before. Luis