From mboxrd@z Thu Jan 1 00:00:00 1970 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-trace-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