Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp565610rdb; Thu, 8 Feb 2024 14:13:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IFdofUhbGnQ9k5a2mXki1Fw/+SnpeRqmjKplA0Ra4j4t9IUoEk/Gc1ESruk2EZkGiPGbHp8 X-Received: by 2002:a05:620a:4482:b0:783:7e10:c524 with SMTP id x2-20020a05620a448200b007837e10c524mr1124459qkp.28.1707430387549; Thu, 08 Feb 2024 14:13:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707430387; cv=pass; d=google.com; s=arc-20160816; b=Fd9yP6owt71UXRJJdLCEsoufdmMCsZAKdLOWrFwnDg8DsWxVPnph5+CJWyAQBNwNSY WTeeXXv5Knn5vFAeDMKibTOrf12L5vFSabsHnP/SVJfTzEk2X/HZdT3eYbmEnOT3vAIR dFe5mhwbcJhq+EXL9ksJHPLff6zX6hOMDeP1PBk7D6W3r7px23SnLoiB8e/eTe9GpqHy QzoOMLtIOGpP8zkcoSzgD1W2wu3yRM5iwYi+kmBpZo5/uxdrDMABX1Jl8NFfQ+rXE6n9 /f5b34CejApBieHjaRZJnJmlAGCHMKLOff4Rh2i/USrBsufUYAjgCh9f6EUw7415W/zI sW7A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=tETCz+MewdGQ5zn9iWOBlJ25UYOqFQalFNPXRZ0WhNQ=; fh=A+0DwVeRZcgjRL53q8T3wV6xIbyigkwz4wzeUWIDNPA=; b=vfERKM3G1Fi69xbkw0IrZNLiThhUNEUPX21nFyA5Q9vJISEWmvzd4T7OOfcRHGzAny JcvBMk8e4u74EOoT5jRHP161ff3h2ogTwz2skIhRyVnGzvaekEGOVa3oG3O5/bzOJogY q7go8hDwxEZ6vkulYt4KhwA/bnpiyZmxgCyoQ/kD1FkNKj8jzwB8PukZwJ+IImoenm0w xJ+lps6/bMx6vDt5a7s/3DuJE7kl73ovo8MqSKFOJM64A7YaPH82TxN6unnCOIlY2FyE ZMTTEURK0XYKiADIpZq4pmJp19hS7oPGLMXaE5czVo893TjXJML7aiUWygP/vkDVXl7p mmMA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=iWWcaxmc; arc=pass (i=1 spf=pass spfdomain=efficios.com dkim=pass dkdomain=efficios.com dmarc=pass fromdomain=efficios.com); spf=pass (google.com: domain of linux-kernel+bounces-58768-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58768-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com X-Forwarded-Encrypted: i=2; AJvYcCVslRrpr5sbyCJYF5EH4mOQutLTwlFkIv3m+hORcEdnsilw+PIDDv2HTjKHidKq9aQhyXB8ilNSqRA9JGLXwjY66XEo6Ifj5rpERl+3mQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id g29-20020a05620a219d00b007840e0ae96dsi587297qka.62.2024.02.08.14.13.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 14:13:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58768-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=iWWcaxmc; arc=pass (i=1 spf=pass spfdomain=efficios.com dkim=pass dkdomain=efficios.com dmarc=pass fromdomain=efficios.com); spf=pass (google.com: domain of linux-kernel+bounces-58768-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58768-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 4FFAB1C253CA for ; Thu, 8 Feb 2024 22:13:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 26EEE50259; Thu, 8 Feb 2024 22:12:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=efficios.com header.i=@efficios.com header.b="iWWcaxmc" Received: from smtpout.efficios.com (smtpout.efficios.com [167.114.26.122]) (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 CBC2D4F88C; Thu, 8 Feb 2024 22:12:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=167.114.26.122 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707430360; cv=none; b=GR1hBmBihmNmE9pLOnOjoqX4dsK2G3Ko0wyVIsnjBw/YqYmTTL7Iuif1ekYY/bhAFjf6Ew8tstXlMqXy4VJ+DGSDwqfYPxoKnk/JKAmBlQAjhxE7VD5d+zi7ai827gXtxGPOHwG7tjJ2VcKGPPdIkzb2sesk6G8vrXoonoV/3Z0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707430360; c=relaxed/simple; bh=SaWM1q3KRwkuItGeKAM3LJGUjBgBF2JdvDnT+CbIZAY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=SItVJQ1lZmOtIV3WwNo84Zc57wUBRh4OuuIuYTDDGOI7BddaD88e8f/WGHN8wzIkFuUUz0nL4NVYWmNzqvqtNBjwqGo+lH8ctuTSTkVBDknJBjn85PFbwaUUG5Zztl/qI+o8Z5/qrtc29QC78/rsxUz1oqUvq6qqWuIZ0VQtPMQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=efficios.com; spf=pass smtp.mailfrom=efficios.com; dkim=pass (2048-bit key) header.d=efficios.com header.i=@efficios.com header.b=iWWcaxmc; arc=none smtp.client-ip=167.114.26.122 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=efficios.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=efficios.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1707430358; bh=SaWM1q3KRwkuItGeKAM3LJGUjBgBF2JdvDnT+CbIZAY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=iWWcaxmcWqoFAauOWqJqBCtLndtPt2l1BF+/ArVLyJihI6jbAHHUucumYgk+xw26N P3551E3iLtytFyzNQ69/j79OQKihodE5Fy/KSJIyqxv9qWGTnoF3a2LECcmwNBAKsb vcuhi79H9kIfGII2z8Ch9d9dMrCGPMpALLzCh98wCC8UUrH+mYLPkfIrKgMgbmV3zj e9NjeD9+6oFTo+WC/aQYnTqK6LrY8dMHC22nBsHC2Ca7Caib+wQPYkyZsQDs3EMdOn D4/1Ir30vdpd7VyniS+hEcxrCgA7LJR68oCAt+hx0zvvwO/dVzklnH0e+sH9habPdl PmEhO2iFFQnqA== Received: from [172.16.0.134] (192-222-143-198.qc.cable.ebox.net [192.222.143.198]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4TWB795fqgzYGM; Thu, 8 Feb 2024 17:12:37 -0500 (EST) Message-ID: <3fd6615a-a17e-4c68-9e92-fd1a6939fdfe@efficios.com> Date: Thu, 8 Feb 2024 17:12:43 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 09/12] nvdimm/pmem: Cleanup alloc_dax() error handling Content-Language: en-US To: Dan Williams , Arnd Bergmann , Dave Chinner Cc: linux-kernel@vger.kernel.org, Andrew Morton , Linus Torvalds , Vishal Verma , Dave Jiang , Matthew Wilcox , Russell King , linux-arch@vger.kernel.org, linux-cxl@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-xfs@vger.kernel.org, dm-devel@lists.linux.dev, nvdimm@lists.linux.dev, linux-s390@vger.kernel.org, Alasdair Kergon , Mike Snitzer , Mikulas Patocka References: <20240208184913.484340-1-mathieu.desnoyers@efficios.com> <20240208184913.484340-10-mathieu.desnoyers@efficios.com> <65c54dc181e01_afa429468@dwillia2-xfh.jf.intel.com.notmuch> From: Mathieu Desnoyers In-Reply-To: <65c54dc181e01_afa429468@dwillia2-xfh.jf.intel.com.notmuch> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024-02-08 16:55, Dan Williams wrote: [...] > > Oh... I see you cleanup what I was talking about later in the series. > > For my taste I don't like to see tech-debt added and then removed later > in the series. The whole series would appear to get smaller by removing > the alloc_dax() returning NULL case from the beginning, and then doing > the EOPNOTSUPP fixups. > > ...repeat this comment for patch 10, 11, 12. Done. Mathieu -- Mathieu Desnoyers EfficiOS Inc. https://www.efficios.com