Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp509098lqp; Tue, 11 Jun 2024 10:35:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVtNTkCY5Ssb0csvXYdK1GDaK7bwuBrxGbKJ/XQqaocWyTf+JsL2iSMwGhqvqzCJfbERaiNPLLbDYBJnbmbPZQnPfdD7m0JOEnXhLrKFQ== X-Google-Smtp-Source: AGHT+IEqyKzyNOC5IIknbS2JZCw8RGZZLOJPyyJ59c/m4EsFoWGIRdHBXLsWJ7karAJmJAGV3F4W X-Received: by 2002:a81:6dd6:0:b0:620:31ca:599d with SMTP id 00721157ae682-62cd56022a9mr124240067b3.29.1718127305560; Tue, 11 Jun 2024 10:35:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718127305; cv=pass; d=google.com; s=arc-20160816; b=UHfAhjpXcWowCH21R5RO78mL+JMfqn475qNVa2zTwu9uJo1X/m+vrlyok9ApZU8TiL bPvhSQIFOseL/34t25zyaf9iq7YAbE8j2RpA35zmZS6JjhF1kSdaGyORrKFMUm7xxQ1W rTsNXzgHzHLtKBLkW8+WGxiHyMzDpARd+w9idWde0G+KZkkU0OyW7v158pxhmi3r+Gh3 XDpeaftmA1/XvFUbPTS+Wfuf40QrqPvIcnEGt4LR/9TZiyUQclVNtzMF9HYhAeqo3AYX 2sBG+x8LjyuQwMgBkeobSfuemSoO9ddfhax1FpJEssrJCWkthSwqDDuv/FmuO/PgMfAD tCfA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date; bh=qjQXbHP87GziT0RbfXZ0yayWy99jwXURK4qbG/jEUdc=; fh=WpJiPUrZM1r7KGjMll0P25ILwzMCbiZhnTevonfJVTo=; b=JUljKpARNsEPbOWvozBa13ObplrNzmUrYB1wkB6UNuPWIonh1rDIXwFL/bn1HvUMM8 FTkAkYwAL/GnFLfOdlXSycr+4gfnolPLmm5p3J8SZqLG2qhE3On0VD1kC2oa4S9NxwKH +FTTprQLgsG+7EXda2zxKe4tVtHRIT2Fy6wubo4ICcmRQYMWOzapp9U6O+kAxqGQJfNV NjZEnRZv2u7YdCnWTEWrgHVqF0gIzRBAuv8xc0LFc3qKEQE1pOhgWuPfacECrftX4B93 qJYGAPZgDMHuBoqm2jCoWIiaspkEhnAQNNdeaaTTzTbV5TM3+ry3RnypKVhpmAlWVnXK c9xA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-210336-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210336-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6b0642856d7si103365706d6.200.2024.06.11.10.35.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 10:35:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210336-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; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-210336-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210336-linux.lists.archive=gmail.com@vger.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C01721C246F5 for ; Tue, 11 Jun 2024 17:34:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BAB844DA00; Tue, 11 Jun 2024 17:34:06 +0000 (UTC) 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 3AD53111A1; Tue, 11 Jun 2024 17:34:05 +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=1718127246; cv=none; b=KKbKacsaufVzivC1fAbtpoFrkMagx8xHkyCV8qJja1ElyNYSIa7hpty9cWp+6zzlr6IBDMTzZ/Ej6oEAUpooey+s7RtPiHGgqYz8soevXIxt2FPCSiQjPwk8P1SFqUVDA0spQb+djzLOYGgwefGPuEZ9VqlXWT2fYMP3zbAJsIQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718127246; c=relaxed/simple; bh=mw2bHrfXC91A3Z41Lk93bFgLF0h96ckW52DG3RINQfs=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jW7qVtqnri6Z/54sBrHPlSpDWeiAsCpXjFuLP2orkf/efyeLYacSIqEt0LaC5jyO3ae4o7+gI+kkSIOGG3RTKczphFJDwmswh3xa0yBFy7MLeg07rD8ajhYOmYpe0Ib9NLCCRDT4zxf5oU/PGhwkPUJq8pZunhVwa7R2KSrwVLI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BBDEC2BD10; Tue, 11 Jun 2024 17:34:02 +0000 (UTC) Date: Tue, 11 Jun 2024 13:34:18 -0400 From: Steven Rostedt To: Mike Rapoport Cc: Wei Yang , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , "Liam R. Howlett" , Vlastimil Babka , Lorenzo Stoakes , linux-mm@kvack.org, Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Peter Zijlstra , Kees Cook , Tony Luck , "Guilherme G. Piccoli" , linux-hardening@vger.kernel.org, Guenter Roeck , Ross Zwisler , wklin@google.com, Vineeth Remanan Pillai , Joel Fernandes , Suleiman Souhlal , Linus Torvalds , Catalin Marinas , Will Deacon , Ard Biesheuvel Subject: Re: [PATCH v2 1/2] mm/memblock: Add "reserve_mem" to reserved named memory at boot up Message-ID: <20240611133418.4a32086b@gandalf.local.home> In-Reply-To: References: <20240606150143.876469296@goodmis.org> <20240606150316.751642266@goodmis.org> <20240611144029.h7egl4aif5mjlrwf@master> <20240611111218.71e57e0f@gandalf.local.home> X-Mailer: Claws Mail 3.20.0git84 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 11 Jun 2024 19:30:47 +0300 Mike Rapoport wrote: > > I don't know if we care what the align is. Zero is valid. > > memblock won't like zero align, it should be SMP_CACHE_BYTES at least. > No point requiring it from user, just update the alignment if the user passed > zero. Thanks, will do in v4. -- Steve