From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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 1F0863C1978 for ; Thu, 25 Jun 2026 09:57:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782381470; cv=none; b=Yh0ge3zyoGM4Ya/kam+A/604lbeDe/Se5nfsZN4lB0LHRSLu9H7mDO6Vbq38RG0oiB2TrpghBppBVk2zhaIvaMBbI9tsd+U2fEJkb2X7Pb0f+dqa/og/3rkp0A1QgqRmrhiilOfOu/zZMF8lk/U3+XwoHDJaXEDkKPlNsGeUDPY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782381470; c=relaxed/simple; bh=JpGjhdFr5h18SGQs7nehIDm52veT/7VbpBB+NbOKokE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Gzq5h/GRwM2lnyMGkYqtUP3lDjKnb7ScZe/GM5YYfYTwGtpkWpj+RDPx7YyLB9P9gaSnevu0ZfTKFKJlyJoT8krD1k+iZwAGT2YzSO7gxaBFtyCLNetnAh6oCXLF6Hx2AbueqaBphVAhZFp73Cw9vfrWIkhuNNs7h5xWrlTsgcg= 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=ZuMa+cKw; arc=none smtp.client-ip=209.85.221.42 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="ZuMa+cKw" Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-4624a44e152so1732386f8f.2 for ; Thu, 25 Jun 2026 02:57:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1782381467; x=1782986267; 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=1JGfadZ0d7kCTMAJ7VpbEB2HRtl+w6B26cYDK1uSE+E=; b=ZuMa+cKwtRSxy0lmro0ktbfBRJ4rAuQXTqVeGvgfr9D1RVnE0IQhodPn0TtMbJ4/DM 0QXjTuGVkV9fquw1IecAyTbPqLqeKtZS0nqDlg4+JEMR0PmYN90Xxxir3VkzJWKSKBvm WmWCFu2AvuPnU1Rg25ld2ztfCTgV5gMAC/Gqnzq7CQJdBBJrhJQHFXH4CIBQfNqaP61q oF1xbtmEMAFb7/dM4b6P7X8rvGhJ+HGzwAJ+i+c4kJlbcDemUmA6R/4PEt8je4zk3k4H uX4tD8014ojGWso3PaaaYFMe248FmBObl8eBu7odeaZ6QwkhOLh17D5/lwQLUkeR1kBV i7cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782381467; x=1782986267; 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=1JGfadZ0d7kCTMAJ7VpbEB2HRtl+w6B26cYDK1uSE+E=; b=gHcF1XKjgqG9CNU/6OuPxUavyARmTJjxXgPsyU5laN5obJOZUrpQ8C0I1UBdQ8xjGQ 0DlIo7g8RzWi1OC4OTOav2cng8EsS0qKjvXaSPRor1qYZDwoKvbaendo2h9nZkXvnxTq ZvO8cyv/EN/j5OpvHYQfJu6ZAOArDIkftXnh4MjlsCh/5e9o4kcKSDkJE6iKCtgIO1nq 88CGthcyPe0wydiWDdSLyZdxpfoMPnK/z346IRoR6TGemGReQ7BC4q/tuyVnb6h1+xqK GPvCBpCbeyZmZk0rsWFSI2bl8dpoy/XtLZ+z9p8JAmz5OBXTeQcJ060KbMc0XjA1A7vq dD3Q== X-Forwarded-Encrypted: i=1; AHgh+RrR58eBueVOloUF4kwWSuDEw/Zza5Jd7S3IIkTPLCDz6NCYxuEazppykxYpjHQ7cL/wDBG4YDS5FFKYfos=@vger.kernel.org X-Gm-Message-State: AOJu0Yxv+bH1oZjlsGiBC25sKKXAIOAGdWk/BDunr7cOcoyC4v5hYdLJ rUwyi/qAFsJtIp8Xm71DkzRJ3Z83EzztGV0bsgV88oS+jDzytyftKj0VlTDu8HrKVzQ= X-Gm-Gg: AfdE7cn1kJuc9nz8vXiZpDZW/9392LzRzLXK280PKtcFC+XaJPDCVvbanSqIYobI7xH 9ZPScRE8ZaowkbzfRe0DD3zR9MKC33vK/rwD69GzR/L5aiZxyKZGviJHkppGn0h2IuL3grdoae7 1zzDDvKAO9hoKSj6N0ycvsBnrn9LbVGS/0tDtJGP9V3M9O898WlyLyPa2QMhJlPzaIQZsYRBU6V +TCCwDbDGqlrgOMGBjEDxeoMd0ohPnCQKhXqK6LQMH+H8VL/9uGx/9EbE7sFHNolkQLP8vFQIpQ VL529n+Ue05M11UWbaeCXae59MYiDm8aPjVEL2X/SZ2PT82gkFiY9Su6eJ9nKwzxbNJqOShU8IH JYsvV9ybQ2tzoOeOZqEmNeHw7c/JQfDRBbd2P5L1ihd/vsAG/AH954ftL7POAts58tlmY+tbN8N Sq9vPojtexqNrBV6I= X-Received: by 2002:a05:6000:2f8a:b0:46d:d6c1:8383 with SMTP id ffacd0b85a97d-46dd6c18494mr2196431f8f.44.1782381467521; Thu, 25 Jun 2026 02:57:47 -0700 (PDT) Received: from pathway.suse.cz ([176.114.240.130]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-46caa798f43sm11381529f8f.8.2026.06.25.02.57.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jun 2026 02:57:47 -0700 (PDT) Date: Thu, 25 Jun 2026 11:57:45 +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 JFYI, the patch has been pushed into printk/linux.git, branch for-7.3-trivial. As the branch name suggests, it is intended for 7.3. But as a trivial change, I could add it to a pull request for some 7.2-rcX when I need to create one because of a more important fix. Best Regards, Petr