Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1900615rwr; Fri, 28 Apr 2023 03:30:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ49137OXudsA+i88BfKKKrgnkPl6SJzwyKoEb65o2sqD8G0asd5BBwom4jc6OKfv10I8p+A X-Received: by 2002:a05:6a20:a11b:b0:f0:b6e3:90c9 with SMTP id q27-20020a056a20a11b00b000f0b6e390c9mr5829365pzk.4.1682677844701; Fri, 28 Apr 2023 03:30:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682677844; cv=none; d=google.com; s=arc-20160816; b=1GBC5csBWOSYxHeG6YnCiVwl9BWejrScDvAf62CW7CvsnWsB7L6dpUHLUPpcN5H5lK cp7p2vkGwyNttuomh/L1HhuFmQ9NAnA57Cp8JHip5xSMxT1mO6SGa6a5ALHmVjl0pWN4 RR64xMcviHwxJGqVpj9Gi3m+TE2RTXlTxSgNysqhqNrf+1q6kB2An7kfC6cx6+E90HLr 2ULXkUqnVF+cH3zSU5TFgu1H4L9jm+mcbWiB9lwBB/znpUcOuJUCncNsXRO0DN8nbpzv qa+EcHBK1IQ+Gv1gmALlt5IStecNt1SndfsWuwmIycSUtPps63Uvd6irBKRMBWeWsxY7 LaLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=ictbFmDg20wyCbfEsM0ORJ23ImZGY7NUB9/5Fu2TxBs=; b=mjWvbm/fgCielFlpyLLQSrBuMScXSyNShV9ZG1o4Piweo47eq91tlHHUbUIdc7rPhV doAKe1g71WT23BZBd3qqyXlDvhkPETMzYlMbYv3kYA8fzmW/eeTlY5005xrLuFlsrJ6S Z3EAb4HZAOy68i0nQNkU3C/Df5znaHcTRo3bSPSKdlTld3CG8swg7kG7V4VwxRw2FmDw v2VSapqPog8oU4/G5zyDFse7Tb2fKY/8KAAVHKSLATW5tnArnVvjZKbCU6EUZLAWihyq O0PN3/1zjFbwblEhlrlxBq8WECtenraTplebkwooPxRHbiAGdztaEFREJJVY6DrsdpD3 HL2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tesarici.cz header.s=mail header.b="0QSfs/P5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tesarici.cz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h3-20020a654803000000b0050f66d4e070si21589075pgs.417.2023.04.28.03.30.32; Fri, 28 Apr 2023 03:30:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@tesarici.cz header.s=mail header.b="0QSfs/P5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tesarici.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345518AbjD1KI3 (ORCPT + 99 others); Fri, 28 Apr 2023 06:08:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229596AbjD1KI2 (ORCPT ); Fri, 28 Apr 2023 06:08:28 -0400 Received: from bee.tesarici.cz (bee.tesarici.cz [77.93.223.253]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5AB29129 for ; Fri, 28 Apr 2023 03:08:26 -0700 (PDT) Received: from meshulam.tesarici.cz (dynamic-2a00-1028-83b8-1e7a-4427-cc85-6706-c595.ipv6.o2.cz [IPv6:2a00:1028:83b8:1e7a:4427:cc85:6706:c595]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bee.tesarici.cz (Postfix) with ESMTPSA id 27F2916773F; Fri, 28 Apr 2023 12:08:23 +0200 (CEST) Authentication-Results: mail.tesarici.cz; dmarc=fail (p=none dis=none) header.from=tesarici.cz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tesarici.cz; s=mail; t=1682676503; bh=GTxUJDFsZHT3lyeCkP6UicSTVbHr563AdVuyeGOcPsk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=0QSfs/P5+3nG0tMqfKKUTqQ8Gda1wMNxh9zG6q/qnOIo1fEjQQbxM+iWvzBKZ47e7 LIixbbDDDpZrhFf+1AU5xrL1zKoy8oxbOwI+W2eKWzMyzHa8n72/H0ciQxnYdGWYBX rVJxauM/DutPMDe+jyTYul8mo7xMXJfgCid4TOmTZdkLdz+h6J0TxSCw+nHZGZFm4B 9tMixNJWCFySAnL52nre9VLWob26f291WoeOkYDxmw4E8NhQidM6CFSHWXn4AuXTu9 R7IRtmbJTLGV4FDtvO2zZoDNOzoeXph34hjk9hvYA+1BfhBLf9mtOXbx00wgwyTPnC cURTRx05Q0Y5A== Date: Fri, 28 Apr 2023 12:08:22 +0200 From: Petr =?UTF-8?B?VGVzYcWZw61r?= To: "Liam R. Howlett" Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, maple-tree@lists.infradead.org Subject: Re: [PATCH 10/34] maple_tree: Use MAS_BUG_ON() when setting a leaf node as a parent Message-ID: <20230428120822.26aaa9c8@meshulam.tesarici.cz> In-Reply-To: <20230425140955.3834476-11-Liam.Howlett@oracle.com> References: <20230425140955.3834476-1-Liam.Howlett@oracle.com> <20230425140955.3834476-11-Liam.Howlett@oracle.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 25 Apr 2023 10:09:31 -0400 "Liam R. Howlett" wrote: > Use MAS_BUG_ON() to dump the maple state and tree in the unlikely even ^^^^ nitpick: event Petr T