Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp12354lqd; Tue, 23 Apr 2024 12:54:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUprF1Oegc1KRnlupLLJ+lU+j3w8i4s67tcDsrMPcT/vpwxfx4dNLlLQFKrK0CsmveZZ2bJ0xWQzKxwU40qwsnCayirbbP5U8vWXzb3Zw== X-Google-Smtp-Source: AGHT+IHSox6aBuoSoQqexWHCets7bYmsQDhTducAsILjhHvJVMZZyOjgvZFF3+9GyrE7DiJqyNIX X-Received: by 2002:a05:6a21:1f2a:b0:1a7:9476:6cb9 with SMTP id ry42-20020a056a211f2a00b001a794766cb9mr410538pzb.32.1713902086260; Tue, 23 Apr 2024 12:54:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713902086; cv=pass; d=google.com; s=arc-20160816; b=zatPa+QHCK/MbQiq1+YtU7CaP2kOBRLZYH1WHRMHoQ2k2DonEg0z+ATFLbhsXnT7qt Rx3NDWFB6fDFQOogHcSxshmnf4kbw9f3zDSN7xqRwofUNS8hhDNIo1XIg3r4QVLwfuo/ 4DIX6XgwZLm3KG+/4N4LvifgA85HbUqKMqp0arp2YjD/BVCiyT2Y9C8HTY1g0MT3o/2D 6SaLGMLTYkYzK8+rP5Q0Nr3ER1ZRhP9fS/lEyUoVFNgvCShNVrRmQwPu2+3qnyTHbAAg oHGQyJWnAb0nBrOnaK1xQhKe9ISoht4tq5Q3/3lw/SJCCNPMtEmlRq5b7ula77A0Ev+C 5cBA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:to:from:date:dkim-signature; bh=SFu4S4N401hobfWJm/IQ3Si2iVoGv8l6ArVO3sqzwjk=; fh=IFae/oasd3Ja+K08wXLfLq2Q0a7fNlgz3PIgj1PWXkc=; b=Sr6aRq4wcU+7RKQNnwc1pBUB88x9vqznBdsrbrwYYcUSEu87cqt5eIxzABGJncD8kA rCC0/a3EgrtMse47r6Nn3W3hrAys9Rc2wdY5bftka7Sm8fMG8/foGRkmaFVgkDxqzf+M heajU2JaMErhJSnV0EZQ9TwPEuyDun9ns6sJvhNG/RENQjEsb6qkd9eLWTlmNhdRHG2T WCX3eeH9EXkouA//7OfFiXzhzvfRAMV1/B60XRy21Wf/up9DrGw1rWH46Hxbx+nfMf9D z9iwqcYGiEJsc7ObRwAl4QU8aFOVXzyr6oFn5RAMSIcCIL3c5s3oboZNXIv2WcTMWIRK 2bTA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Z6t8fl11; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-155675-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i14-20020a63220e000000b005f057f9ede2si9710247pgi.858.2024.04.23.12.54.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 12:54:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155675-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Z6t8fl11; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-155675-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 40BB12897C9 for ; Tue, 23 Apr 2024 17:26:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 08D5C13DDCD; Tue, 23 Apr 2024 17:26:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Z6t8fl11" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DFE8E13DBA8; Tue, 23 Apr 2024 17:26:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713893194; cv=none; b=stcBqzjkHR0odN72wuGD5/vMg7lEcHVOtUNDf4IiwOL3tXk4B5PANAJ1N9O+z500Ksu/CdpcSC8fu0+xhHv2xW+yRbT28+kjaFQNHcekSZjH5HWVQbJX1b5Iv4WITpHnAzm97OnCZHacScoTlxX3SsnjhR3lrbN+bt7EyLHHa+g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713893194; c=relaxed/simple; bh=2Eit2zONEy7ACadg8HF+rWSu61pawyNV76G1vZL0tK4=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tlmBEw5yaWN5zQPug6s3XE6cQWMWdbozjvxUecYlrn0GIg+r3cN70+9jGXf4YjxAHd/ru9zvGgwIrxc0QXrIDaFvX64tFqoo+Yr1YpkBBiSgAjf7Zhrqx/GBZJjvOSPqPSOcrC7iRbK4QMVws500R4u5TPrrSUph8lV+JqjoO8U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=Z6t8fl11; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org 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-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Cc:Content-ID:Content-Description; bh=SFu4S4N401hobfWJm/IQ3Si2iVoGv8l6ArVO3sqzwjk=; b=Z6t8fl11XS07USzn5AtUq0bvDN P0h97NL5GAqQPBlER+VhEN62gjSmxbxc4CCNgxGjVX4CkMYy/1/oNcd9I9rjvJsXLe6ke2Orv+2OY LqMNm9sBIMy7bUfQZwLZq83/AHc2q2yqAXpM9Tm9TzVC8rqX3eQHxENIQuPRiLwPXWsvq33eZxwa9 Ov1CZTC6upR/8hqfnXJZZ/CoCccgprFDewRi8waHGmjYOtobGIAYv+1K3hntFLzNroAOdpDX3P53f i9B/7GW0zd/qfWg5oRArZK7xtupj52WBLZujX7+eZAK58olp8WJ9M2B8WHnmS2ti+cfXAWyG/SXom UoCzNf+w==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzJuZ-00000000y74-1yy0; Tue, 23 Apr 2024 17:26:31 +0000 Date: Tue, 23 Apr 2024 10:26:31 -0700 From: Luis Chamberlain To: "Liam R. Howlett" , linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, hare@suse.com, p.raghav@samsung.com, da.gomez@samsung.com, djwong@kernel.org, david@fromorbit.com, willy@infradead.org, akpm@linux-foundation.org Subject: Re: Broken xarray testing in v6.9-rc1 Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: Luis Chamberlain On Tue, Apr 23, 2024 at 10:18:36AM -0400, Liam R. Howlett wrote: > Hello, > > Testing of the xarray using the radix tree test suite is currently > broken in v6.9-rc1 and beyond. A bisect resulted in your commit failing > to build: > > a60cc288a1a2604bd86d3df129f269887018c3cb is the first bad commit > commit a60cc288a1a2604bd86d3df129f269887018c3cb > Author: Luis Chamberlain > > ... > > Building in the test suite now fails in linux/tools/testing/radix-tree: > > {bisect/bad(bisect)//radix-tree} $ make > cc -O2 -g -Wall -I. -I../../include -I../../../lib -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined -c -o xarray.o xarray.c > In file included from xarray.c:18: > ../../../lib/test_xarray.c: In function ‘test_get_entry’: > ../../../lib/test_xarray.c:750:17: warning: implicit declaration of function ‘schedule’ [-Wimplicit-function-declaration] > 750 | schedule(); > | ^~~~~~~~ > ../../../lib/test_xarray.c: In function ‘check_xa_multi_store_adv’: > ../../../lib/test_xarray.c:767:24: error: ‘PAGE_SHIFT’ undeclared (first use in this function) > 767 | index = pos >> PAGE_SHIFT; > | ^~~~~~~~~~ > ../../../lib/test_xarray.c:767:24: note: each undeclared identifier is reported only once for each function it appears in > make: *** [: xarray.o] Error 1 > > Can you please have a look? Sure, I'll post patches right away, this also demonstrated an issue in the test code too which I've fixed and will post a fix for too. Thanks for reporting it. Luis