From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (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 A59431F0E29 for ; Mon, 22 Jun 2026 12:20:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782130853; cv=none; b=rDGUwnWJ+ANrBQNzXV8PIWNUhlr0nyKWtaE9ogzOd2U66Ms0MlJ9RAIihUOvSnObi1ZoKse5QoAYt9piP+IvXr14g1O/++sEqo2NUGUrksWPe12vpeD7NRhvIitE77HKKH5HbqctDN82DD2G+3Jt1R0CQ+OEoeFy5WkYLOWJBnk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782130853; c=relaxed/simple; bh=iTkWxrUWtAqAMA2EbSXdMIalE3uT+CgkcGaKhXnk+C4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gyQi+6VjyiDlkDyGGPmFnXSZmwanr+5eXTQ9tHM4ohjILyKpFPAGDH86SeUWmMsfC1j8uWJCzMWQo9+Nij7CvHg639ZsCI/ogE//4EXmTkpj4InprHMa6me1/BGva79mkpfkBfuE0HtlRksvz92Np6nlWS8BNNzgTScSiTZ7dcg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=Espx0kD+; arc=none smtp.client-ip=209.85.218.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="Espx0kD+" Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-c0868ca8738so476886066b.0 for ; Mon, 22 Jun 2026 05:20:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1782130850; x=1782735650; 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=Y2cO1wjlF3AwracoCo6bnSDB/R7DYoyvr5n4LJ56Xek=; b=Espx0kD+1Tt4MB8a0uxgJch2FPK2vcHAh86gQLdfK5vxVZkyvrivBfJH/yCU/Q9+YV GA0ud5evVNb19yLLG3dnWE9eRjRKJXt0RTygr9sRv4KPQkRIV/iPWRPyuYhC8vhdRwff eBqwtgmHvPBu/NJ8BWdu2hhIocjy7ZHVksqo/A/SY9ZZ/CX441LXvcZB1dWbiXwXZvNt j+YBHYk4ksnRW54aeKojoazxR9RcezpYZE6GCDvQHXa7ODBh+npOFxmF72l1aeMtF5Dq tkswwNtnoUEXkU3LE5KkEFJFrKAqOg2jCOn4OXJzYCIh55C02ZpOl2Jf5jiszBCcxSjp zWPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782130850; x=1782735650; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Y2cO1wjlF3AwracoCo6bnSDB/R7DYoyvr5n4LJ56Xek=; b=RIgyAoRgfnGgfD/YXrvn68snP52G2gk+DLoRJ7s2UaNzmHg74/6kPE7lbg9FDT+h3A Wi3JFHwf3EqlC4l40fIw4+avOVMGt58NQHKYqtLro7PsNyvtn7A3RWR28+6NO8Su9Rpq YyCgtMlYp1uz0/0ipboaNtEeJvLgRecn2m5ovZeji8eavKvH7NlMFpf6eLv82SQqFgh2 Bmw0QjGx3MAGK+ftIgR2JubsGpKTrbnDVViA2jb2V4g8REqssrR/IsOqysdhsAv4IF6N fE6tx5/V1FqYK41js/q8WDR101ubU0/ghTrmrHRAQz+tRFI6M0VEIEQMkYvVymLsiYjj rpVw== X-Forwarded-Encrypted: i=1; AFNElJ+n6QfrO66VB22FcEsK/MLOoHDTfhqnYlwQ9CrrudjHZX+OkoCmG++EQlklKgsx940fYRRcdzkt7FT5l1E=@vger.kernel.org X-Gm-Message-State: AOJu0Yz3EdPrFbJwiR+DlxJUd3k7ZRYJJPHOpIvpTnsIVNW2u6lDQ9io c4okgOmFQOKTGuKNFPY8bdUxuMmtlP3bykYKUZa4TqcpXCq47zN+LIt6thjsWA9Go4Q= X-Gm-Gg: AfdE7clQN0HWwNTXHNImfrXROYxRRG/+LCCBaYr1EaLXahVzZF62cjgMUckAKbqyhOz FTXpjEE7ID6g3f3MbmpPbN8wmI5O95NpGKksCsz12Unokty/NgcRryOopXc4RysFwnpMTbiHpSH eF5/7NexySqrIr69ctxekvEwGxwoxJJNonutGeG7DZCQOKv9aFfK0t0JYY+v9dbZrEv1GvSieJY txz2O9u5eKDMER6GDCs74OV2fFCw0HVMkYmTQRYOKITVM1gkv0KF3PTjZwwftLaIZSEREc6aw9G RohsClniGUR8PbiDHZonLvhFo0ikbWovF+dhgbChMN3qFgY1BP2L7sC4BKMpAWb1IvLZUH+alHV HS0Exwv9x33UEg6Dn26qkxgTgYOOlBzzmUiANjTjsBm+Ep1K/oMqQTcZSSRMUnFIR6ibuJ6aW7T 66Zb4YzeViA7Aqymc= X-Received: by 2002:a17:907:c405:b0:c03:b8c6:cc27 with SMTP id a640c23a62f3a-c097c0af2a1mr606327766b.24.1782130849957; Mon, 22 Jun 2026 05:20:49 -0700 (PDT) Received: from pathway.suse.cz ([176.114.240.130]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4666cea9581sm24098663f8f.0.2026.06.22.05.20.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2026 05:20:49 -0700 (PDT) Date: Mon, 22 Jun 2026 14:20:47 +0200 From: Petr Mladek To: Kaitao Cheng Cc: akpm@linux-foundation.org, rostedt@goodmis.org, andriy.shevchenko@linux.intel.com, linux@rasmusvillemoes.dk, senozhatsky@chromium.org, linux-kernel@vger.kernel.org, muchun.song@linux.dev, Kaitao Cheng Subject: Re: [PATCH v3] lib/vsprintf: Make no_hash_pointers take effect early Message-ID: References: <20260618110640.82749-1-kaitao.cheng@linux.dev> 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-Disposition: inline In-Reply-To: <20260618110640.82749-1-kaitao.cheng@linux.dev> On Thu 2026-06-18 19:06:40, Kaitao Cheng wrote: > From: Kaitao Cheng > > The no_hash_pointers boot parameter is now handled as an alias for > hash_pointers=never. However, hash_pointers=never only records the > selected mode during early parameter parsing, and no_hash_pointers is > not updated until hash_pointers_finalize() runs later from SLUB init. > > This leaves a window during very early boot where %p output is still > hashed even though the user explicitly requested unhashed pointers with > no_hash_pointers or hash_pointers=never. > > Set no_hash_pointers as soon as the "never" mode is parsed. The later > hash_pointers_finalize() call still keeps the final policy decision in > one place, but explicit requests to disable pointer hashing now take > effect for early boot users too. > > Signed-off-by: Kaitao Cheng LGTM, feel free to use: Reviewed-by: Petr Mladek I am going to queue it via printk git tree for 7.3. I have already sent printk changes for 7.2 and this does not look serious enough to create yet another pull request. I could still add it to a pull request for 7.2 if a more serious fix appeared. Best Regards, Petr