From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5C31C4332F for ; Wed, 12 Oct 2022 19:45:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229495AbiJLTph (ORCPT ); Wed, 12 Oct 2022 15:45:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229621AbiJLTp2 (ORCPT ); Wed, 12 Oct 2022 15:45:28 -0400 Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFC3220193; Wed, 12 Oct 2022 12:45:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=gFAmAkOYwXyRxUyhMA4f3R3/S6aTfOsWKqz4Ft0mgyM=; b=VdvChzVYSaUvDGnKMSGcZftAyQ FUinifD4cMXYyTKb29dc92zTvbzoMym9AQge/w42B2bC4t9qnrlB3/UWw7M40mj+NLYig3YatS0qj hwogvTWxVCrTVi95yz0GK3qANBsW/X06v37WTWbiJWfl+clFiFKbFwKlLEDOzGWvAsRX3fdUyazci nIiC2XsGkZcNL8ABJ6ut5c/Yeeo1jeD9jLSe76lFxp5duq20ZvK1AWxP7YfpmoU7FvCi7NIjGA54T p7oPaU0Q36KdKpTgbZoudSiBMgoKAHR4AWhytpacf291UohUk0z9h2rN0obLXFG9tzmtA22tCuhml aySqdA1A==; Received: from 201-43-120-40.dsl.telesp.net.br ([201.43.120.40] helo=[192.168.1.60]) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim) id 1oihfQ-000OOu-Fo; Wed, 12 Oct 2022 21:45:24 +0200 Message-ID: Date: Wed, 12 Oct 2022 16:45:10 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: [PATCH 2/5] pstore/ram: Move pmsg init earlier Content-Language: en-US To: Kees Cook , linux-hardening@vger.kernel.org Cc: Paramjit Oberoi , Anton Vorontsov , Colin Cross , Tony Luck , Ard Biesheuvel , linux-kernel@vger.kernel.org References: <20221011200112.731334-1-keescook@chromium.org> <20221011200112.731334-3-keescook@chromium.org> From: "Guilherme G. Piccoli" In-Reply-To: <20221011200112.731334-3-keescook@chromium.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/10/2022 17:01, Kees Cook wrote: > Since the ftrace area can vary in size based on CPU count, move pmsg > initialization earlier so it will have a stable location. > > Suggested-by: Paramjit Oberoi > Cc: Anton Vorontsov > Cc: Colin Cross > Cc: Tony Luck > Signed-off-by: Kees Cook > --- Reviewed: Guilherme G. Piccoli Since I'm not using pmsg my tests are of limited scope here, so better to consider I just reviewed the patch heh Cheers, Guilherme