Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2014201rwp; Thu, 13 Jul 2023 22:20:20 -0700 (PDT) X-Google-Smtp-Source: APBJJlHUn7oXjY7ZJ9wBezCPsPeIgY6zLo+qb7S0SlqQUkkRnPY7H+3zW1xU4KgBsBiLan5AANeA X-Received: by 2002:a05:6870:f722:b0:1b0:82a2:77d2 with SMTP id ej34-20020a056870f72200b001b082a277d2mr4524794oab.55.1689312019885; Thu, 13 Jul 2023 22:20:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689312019; cv=none; d=google.com; s=arc-20160816; b=w+BbJYDyIkncqB4NHr4KQd4Y9bOpzHnd21zNCy1XHlEsRcl/ykop87008/OAAgKmXK eZr/vEiXZjnEzp/fxSRqjlr1HTxLSkmQzU6yhEEh3qoV6JBzooWA3Gp2O1lHK0vSOfLp mGfwpRSYOCD5WebwT42eU3OYDNAq9Lf5JCHDVqbr6Cq2Hea0nM03V/OF76JsUE/bRA0G Z0Mq1nH8LdvKevZ1ADlrokL0M2w3SxTNYQN91I/kdAUdC782LGjlFS2aXxtQ8vdLPOse CAX+j/VmqkLFl5M4seMhB8WG4PWD2xxd3bWBkqehe6lGrGmPqaDxWJiWipZOIfRkD3zF Nwvg== 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:dkim-signature; bh=i83kX+Mh6k/r2FqOanE3zOTFkcCFTb3my01o0VhDW7Y=; fh=WTyd1Il7k7kFWLGAkKt3c1fLxT29sCSgLQ2P5ynqxb0=; b=GEoC747rFCqH64WEshjp43eFOgVahuROgo+Gy8kWXz09Rt5ZFepfgxoYkukXwhPp5A s/GL8KzcRpuad374bQmzxwOAePc0Fyvmpm0yyoUmvzcwgqTGxMaSULNmyFZL5UvTkGAt BtZX8/ZMtSW9TIr0FURxk/vFlq3MxTQtHeL0K9umti+YLHU/iyoYkMlUrVRx5hN7IA0H Ml3ejjVZqqfP6SbF+PdBwSKfMz3F5DGaJOdNRzaANXS6uN1FWSHozI+27qrpM0iBwEBq JYtmY5SLI56mgv6wDi+au6n0LhVbhY5mRvkpaw730z4o1/EDYPR+x5MjQ0GzHZutNKep i7Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=d1WePr6t; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x185-20020a6386c2000000b0055c9ef8f384si1320518pgd.556.2023.07.13.22.20.07; Thu, 13 Jul 2023 22:20:19 -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=@infradead.org header.s=casper.20170209 header.b=d1WePr6t; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233666AbjGNFOn (ORCPT + 99 others); Fri, 14 Jul 2023 01:14:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235007AbjGNFOU (ORCPT ); Fri, 14 Jul 2023 01:14:20 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC06FAA; Thu, 13 Jul 2023 22:14:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=i83kX+Mh6k/r2FqOanE3zOTFkcCFTb3my01o0VhDW7Y=; b=d1WePr6t0gMimxpGdlQj/FIoAg KbfxwxAfHTCYADL/utgfyEzwLh77rUpez4ULI1ywlgWLy9R4F1s02rAue/adopcdugl4c5H7H8TDT 8HcUuqbHR6CAKXZLKqn3SKMH+VYjmUyopKKfGJD0lBP1ltzEUHJXvY45Q2s+UQ8HiYDhTQIbwymGh 8EXSRuEMMapGv1SySclXEPTfYo6HsTBxrt5+6KXTdgwcMMS3mpv+pZMvGeUGxGR5+mF7hfjav1zE5 OsJJAqgh4MHLrjPCi8I3Pp2o+q5WKzNGO3XVvt4P9hfKWaKwq8Ed+kiMvnB46c6qbuYREo5ig53QE OPK2W7tQ==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1qKB80-000jOK-Rc; Fri, 14 Jul 2023 05:14:04 +0000 Date: Fri, 14 Jul 2023 06:14:04 +0100 From: Matthew Wilcox To: Philipp Stanner Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] xarray: Document necessary flag in alloc-functions Message-ID: References: <20230713161712.3163-1-pstanner@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230713161712.3163-1-pstanner@redhat.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,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 Thu, Jul 13, 2023 at 06:17:11PM +0200, Philipp Stanner wrote: > I would pick up the other places where this information has to be > added if someone can provide me with a list :) I'd suggest every wrapper function that calls __xa_alloc() or __xa_alloc_cyclic() needs this same information (I think you caught one of the six in the header file?). Thanks for this, I think it's the right idea.