From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com [209.85.160.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C41D6204C30 for ; Tue, 1 Apr 2025 14:43:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743518621; cv=none; b=dgYEwqXYzfwIenEkppSMprdcYHHRWxu79LHc1NMVDBKaXzhINHBXaEo+RhTlDrnw22edzGn2WUC9qd0TOow1V7cJmH4NkjRsf3Z0D6ze96h+ZNho0Cgwu3MMqYpaoKDgUBrRNZhogNkftgPglvrvs+y/zJAIHok6ZGafQm8Wtzg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743518621; c=relaxed/simple; bh=SAerp0QX7HEQCu5qAwjKy/c73J7h5TTZmQ/PG1g5oNo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Hjaq2UHqiUrcmLBoJih0o6xVZTO4Yvp+IcZrhxABo7//egyz0xpP1oyCK/LserrkcXTlhHqfaUYCYZatK69uoTn/SkZ+JjWY+XAUFxetqws6FeBtRY2pKXQNIz7U0COaydN25GKuzzql6Gk/2XrAyKsDqwXeuBarK6Us97IVYLI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net; spf=pass smtp.mailfrom=gourry.net; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b=VgJQboA2; arc=none smtp.client-ip=209.85.160.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gourry.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b="VgJQboA2" Received: by mail-qt1-f178.google.com with SMTP id d75a77b69052e-476805acddaso60530421cf.1 for ; Tue, 01 Apr 2025 07:43:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1743518618; x=1744123418; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=HN94Rbb3C+JRhW7V34+pZoioef1Q69r5rGBIntjnuf8=; b=VgJQboA2K2fOPxUr3Wfszq9gOxAHpda3GmaRkDdtm2XUo82H2ysCaZLvlqy71LoMci Gtj0z5z7smmYL6k67QHtFsRVojKe4RjH4Wre+w/lw/bwflDL86/eUkn1XvxVTiZztHBy 1JYjzd3ksLRh2BwYVDL6Xwb6+OfqgJsu+nt2QyzjIMS/m0T06ryLkc7HKgCqFCBZk1/S 2PV5aGD3v7eSxi/qesCrz/+H/ims+/ZHszZu5/jT8fxs00HbqbVOcy0J2aqlfAixuF37 N7TrPFgKbaGlzjh5X5/C8Or0870qpIklzGrM66XngGplzx5Hk0BS4bV4PPLSM1w1Q0mQ ibjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743518618; x=1744123418; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=HN94Rbb3C+JRhW7V34+pZoioef1Q69r5rGBIntjnuf8=; b=VMyNgceOkLG+kp5tmzbgJSZ2Ojo9sLoRALD0ruY9BvA8lcHZoyhhX7u9lo9skEOHjy GcIUM99+Ef6cZaf32hg2/v5sm3V2dy5G4ZiGvCRVJkC7RahMP79VJf4vUjJKCvZwIuu6 UoD2rj1Q5sbenJO2xEIyDeuBEeb8AgRH85t2cHhVDqWxkKdgcrU0rKnxr6RmjFR4n84Y H8hamRcosaeFF8ob7mHbzVh0HaYXnqJSzvnEFV/rfQOmOt51RL3vAb3iKCcQqxhz4uQJ SC/wghjP2Fkh/9DJjXE2zbfCOVsQb82GCvdDrSPXDP2Iv3FUoU6cUAS/QdwoFpVGyaPI fmKw== X-Forwarded-Encrypted: i=1; AJvYcCXYOAW9HPRu2fMti9UPXxmx0Q5PXXqcdbMSllQyw6lsLh0fzESBEAp+QpWX1GjQqRILhJawkJCt/+M=@vger.kernel.org X-Gm-Message-State: AOJu0YxLb40sQGlcFcSw0JTFKjQUnmGImR2PgcrePczdql2vcmaMqW/m cK80c79BHN3yp3vmXSYg6ii5nMt8X4+ZAxKpbLIn3VgGsoTlFiZVuwFsM1+oXLI= X-Gm-Gg: ASbGncsCMyXu1PAdUfM87kKfdcgI0Zk7vjUWrTAS9JQFAgCj7u4BOR1HJ14kFK7hpqD 7d7IHZ8byISTpAEyB6FCcYc29LRhnOSSLKu9MP/EEL1VAGL3Y6DO4vsEMFQ7kZ/v8c+6y0nCv4G tLVqQldmPi2tn7LPkAMvc9kecoLU48914c1ki18YZyUU1DXpxSOGYGvB50gTFW/kc/LnzaQklVR jPmKjXUGudkrheacr6ZY+Qd6pZMbBA+WQ1LDYcki4QRoli8M5bfEst59DS/tbeK4MMo9acXdDog 4kF4f5rsCkGSxr6UnCdbPWEgL5WKr/DHjcOR2Nac5AFOdhGrC05FsLQpt7rx1Xvzr9ISGNIrifd toJdMQST0PWNw/79kSc0hixuXN2g= X-Google-Smtp-Source: AGHT+IESWMLbS4rdl9AVCYJaEJTqsnnFG5ywMnL9FotwkE0oq8eGuaFBq1K5pnITmIFvf/Sd3O6CnQ== X-Received: by 2002:ac8:7441:0:b0:478:dcdd:a257 with SMTP id d75a77b69052e-478dcdda41amr84695291cf.25.1743518618588; Tue, 01 Apr 2025 07:43:38 -0700 (PDT) Received: from gourry-fedora-PF4VCD3F (pool-173-79-56-208.washdc.fios.verizon.net. [173.79.56.208]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-47782a4a709sm66857571cf.20.2025.04.01.07.43.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Apr 2025 07:43:38 -0700 (PDT) Date: Tue, 1 Apr 2025 10:43:36 -0400 From: Gregory Price To: David Hildenbrand Cc: dan.j.williams@intel.com, nvdimm@lists.linux.dev, linux-kernel@vger.kernel.org, kernel-team@meta.com, vishal.l.verma@intel.com, dave.jiang@intel.com, linux-cxl@vger.kernel.org Subject: Re: [PATCH] DAX: warn when kmem regions are truncated for memory block alignment. Message-ID: References: <20250321180731.568460-1-gourry@gourry.net> <3e3115c0-c3a2-4ec2-8aea-ee1b40057dd6@redhat.com> Precedence: bulk X-Mailing-List: linux-cxl@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3e3115c0-c3a2-4ec2-8aea-ee1b40057dd6@redhat.com> On Tue, Apr 01, 2025 at 11:33:59AM +0200, David Hildenbrand wrote: > On 31.03.25 20:27, Gregory Price wrote: > > We discussed [1] how this auto-sizing can cause 1GB huge page > > allocation failures (assuming you online as ZONE_NORMAL). That means > > ACPI-informed sizing by default would potentially be harmful to existing > > systems and adding yet-another-boot-option just seems nasty. > > > > I've since dropped acpi-informed block size patch[2]. If there are opinions > > otherwise, I can continue pushing it. > > Oh, I thought we would be going forward with that. What's the reason we > would not want to do that? > It seemed like having it reduce block size by default would make 1GB huge pages less reliable to allocate. If you think this isn't a large concern, I can update and push again. I suppose I could make it a build option. Any opinions here are welcome. ~Gregory