Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp245695lqg; Fri, 1 Mar 2024 04:12:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUdnYCo9gz7OmKMz+74XAWNRCCUgPFLCbMgxfnAS1mX/l5wI0kxgSU26XWGq/dbfzrAP6KAt8uN7t3L1BzxTR/KZmZ59aEGRCGXOLJd5Q== X-Google-Smtp-Source: AGHT+IEuMtNQRxCdBmSfXA8ITR6QJUcYNTbMYAJ8Hi03fBX6g2m/GXGPot0LuqyMNJYaJMsDjTCx X-Received: by 2002:a17:906:c40d:b0:a3e:6aae:d342 with SMTP id u13-20020a170906c40d00b00a3e6aaed342mr1121953ejz.47.1709295137331; Fri, 01 Mar 2024 04:12:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709295137; cv=pass; d=google.com; s=arc-20160816; b=pCdOd0gHfYMJP/ahuk6cYnaFmZ30qJfjIi7XX6ipqVFLWwBrFyX9xgJRy3jW7ILnvH ypMqjst0rV95xpSK8yl2hZ2JcnnGpPtmAzqWOuD9PnW/LbcBNzCKMszmprDUwysmHpHt zGZ/mTKhrIMMsmK6OkXxMit6xDCxGlz6CuoL/swTLpE1dRxpVu20lJWdQQqF7sRiA5xt 6BYuAT3thwpuSTfQ11g6VlKkW+R8Xc3uMnUGMN+CqRNvRNz0ngsa9NDCJsuHfLxkXVsj z4MOwgWnTadUuQf5v9Ngfa1eDgbIOlph1Dcu/AV1RjyMaa++PhQ/WegBRN1TDMKxZNw+ iBMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=kCE5yE+EOG4EtzTQPZh5soFZgiqWRPt2t+i5neN6wP8=; fh=j5KR8nR3+llXZxV9LDKbNIl1KbW8btO/3E3zvtROsEk=; b=zOXKzQ88bSTiwDiuwaid9I6BdaO2SMs0S/z52JFvbpw7CxZJZFVjtUrTewGp0GoK9F C7EniZ6o7ZeUGFLkLhPrvga4ADusX7aSSh5M59RMyYbnfwmn6e7WsLtmJ6v19FH+o3yu zf0a92tdGsq/Gf/t0bmwOryEJElT+TkMz7F3Ub4VNFKGr8MtR51zHsFGqJhfq3+UEKtq UD2e8ZftfcnIiJLC7IoUFiqdM5cjD8ZNKSKXcc6tpuh3Wicwie5p+0iTSBwi3jkzYoA+ G0ntULYjK/jCLu9nkkx/l7OdsRut8X3Lvowi4m093vacaaZ5e2C8iAwqYO7fiIpZ+IgJ 3Q9w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IrYw+K7f; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-88388-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88388-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id m3-20020a1709060d8300b00a4437cf070asi1403407eji.321.2024.03.01.04.12.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 04:12:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88388-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IrYw+K7f; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-88388-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88388-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 am.mirrors.kernel.org (Postfix) with ESMTPS id D9AC81F229F7 for ; Fri, 1 Mar 2024 12:12:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4FC056E5E7; Fri, 1 Mar 2024 12:12:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IrYw+K7f" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 6B9D56BFC9; Fri, 1 Mar 2024 12:12:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709295123; cv=none; b=QiyugEzq3nME/MlN4P6p3Nr9nzl075/NmdoUb0nagQqjynr/b/zCSKOTpwJzDce2yNqdrp6DIZTnLEF1WVtQLDxzI3j/p0GX0r/7GOJoMXE4LPm+D9YqW+G9bgYlMZZjUe7Surqn3pW49MQm65LBGA6HsX9wJ38KN+h1Ghkk8rU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709295123; c=relaxed/simple; bh=WfddGTTxOxrioIY8/wcsdzeHOCxjcPKVGeQVl66RUsA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TbuJ8WNclMfG/rHD5+PO/R1gyzSVKtqk17S5lfkd/bjlJQEshMAaMSfK0HA8UV1QgbEBaCLPlVYCGp6PkZ3gtKfnZSm1qLrQZTF7LdxUtR5jXn3v/9XLYYnpZGhFYqpyC+S+OPctxcNGKzil5nViZcZGiycPl/YVFR55QNL2cmc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IrYw+K7f; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0CEA8C433F1; Fri, 1 Mar 2024 12:11:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709295122; bh=WfddGTTxOxrioIY8/wcsdzeHOCxjcPKVGeQVl66RUsA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IrYw+K7fnHTaJUP4LWmas0DizEtD7fbGrk+TcYhHHi6hHTegtRNZRntjBYRvUF+2L c5NCYfNPwJUqkK4tklnaR3Asg7YCy4R/+9YshVAf/BcDC2MLGPo3Q6vFJk/5uhPcAH HljkJCAJ0FbRO/jHKYH5txVgtuBlw1uJj6cMDKCdJVswWMjZ/s8fWVh1Df/DWLUtkY wbn/V2cx/s/f29t057+sjQfev9+HTXkdWKkO713vfG8ZLT3LxDuTU/BLgE6zmYRq9g BiUr/6p8pX7H0G+DLp0fyoxNQCo0IqRR0ZZgthEoUWKBul3Eqaa2i8VBfixYbR7rZG vyL2A7sU/tmbw== Date: Fri, 1 Mar 2024 12:11:56 +0000 From: Mark Brown To: Ryan Roberts Cc: Aishwarya TCV , Zi Yan , "Pankaj Raghav (Samsung)" , linux-mm@kvack.org, "Matthew Wilcox (Oracle)" , David Hildenbrand , Yang Shi , Yu Zhao , "Kirill A . Shutemov" , Michal =?iso-8859-1?Q?Koutn=FD?= , Roman Gushchin , Zach O'Keefe , Hugh Dickins , Luis Chamberlain , Andrew Morton , linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v5 8/8] mm: huge_memory: enable debugfs to split huge pages to any order. Message-ID: <2d5f9cd5-a2c2-453e-aa52-a84a86107d1f@sirena.org.uk> References: <20240226205534.1603748-1-zi.yan@sent.com> <20240226205534.1603748-9-zi.yan@sent.com> <082e48c8-71b7-4937-a5da-7a37b4be16ba@arm.com> <0dab0c69-2eac-4e65-9efe-e0b037499abc@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ghaC36SALgS50dQQ" Content-Disposition: inline In-Reply-To: <0dab0c69-2eac-4e65-9efe-e0b037499abc@arm.com> X-Cookie: Schizophrenia beats being alone. --ghaC36SALgS50dQQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Mar 01, 2024 at 10:33:15AM +0000, Ryan Roberts wrote: > - In create_pagecache_thp_and_fd() you do *fd = open(testfile, O_CREAT ...); > where testfile is /mnt/thp_fs/testfile. So if /mnt/thp_fs doesn't exist, > then the open will fail I think? I'm pretty sure that's what's happening on > our CI. Suggest the test needs to setup this dir itself. Is thp_fs a mounted > fs or just a dir? If the latter can you just mktemp()? Mounting on /mnt would also be a bit of an issue, that's something people are relatively likely to have used for something so could be disruptive. If the test is going to do a new mount it's probably better to do something like make a temporary directory then mount on top of that. --ghaC36SALgS50dQQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmXhxgsACgkQJNaLcl1U h9CNLgf9HnhxProx3fA8CTE/KbjX2kFnC4nKYaXEmu4hIqNDt7YEDJ3tb98zw/Sj bTFxhX7W1MPl3iqo8ylB7H8Lkx87AgriD1Z1Dx7ejr4VuFG7wY+yee81LuIL9p9K YCRKeb8PXzdPitkpVupwFmf3HxNLkpOnPYnZz3e5J6UNthFxxBHkcDKXxNGxa3v2 JE4LuVmQ+tSw442i4gNHrcmIuaSIIdlcGX5GcNFRGvIpR+UshuCxz3nW3E++9Yoa 3V+ueMu756haaNJActL1liljR0Q6JMp934EuvNJ+o6XWl48aGkuXQ4dUabvm7Qn1 LwbKuFeIM2JiK9dS6EWSVyiPTPvS1w== =Rx7H -----END PGP SIGNATURE----- --ghaC36SALgS50dQQ--