Message ID | 20240204232945.1576403-1-yoann.congal@smile.fr |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-51942-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp573326dyb; Sun, 4 Feb 2024 15:33:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IEW/yPK4BHfmanyKGutKWNzJlzwlJz9CDMKLlsgnRExmi8Q+hMiL4X8YedqlG3bEXS6AOtb X-Received: by 2002:a05:6a20:e09:b0:19c:9f1b:1d8b with SMTP id ej9-20020a056a200e0900b0019c9f1b1d8bmr13003407pzb.16.1707089627577; Sun, 04 Feb 2024 15:33:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707089627; cv=pass; d=google.com; s=arc-20160816; b=BclrKip1n9/8I/4xlBWY3kd1XzD0R/SmkIKrGcZTx5vpl8LPlpldWe/WQ8Evmuqe4R +in69j0SvNnd0JcY7/qLs5esFA+AkD8S/P5q3h9w1qA6+gJ1jTTJQJm7ThczDeXWmdY/ /cRadGLP2TOOjgfe0cAXEagnbM3/2s6kxiPx34xPqyJfD86narOhHQ4X1xvj+UEwpHX6 mLF6luPlhUml78s1pDihwLdzbFX6gVNNwXJz96dnEC8PGuozagwYwvX26OISVnTTnh10 JPrJYCKccmyjf8L6MI16yQOB9mWJ2BHuX2F2zB+f4xPzyJbXKkwKrPiAWN5A8SmPbFBl UVHA== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=yEPb87LSwbm9jYroFks9JSGpfASa83NBo9G3kNUG/KE=; fh=G2DANGs+WnEtJjBZINx8o5PLJus6/HOsNqt9DVjgEg4=; b=UlHTNVY0jI1pGzFaTG/CRSPA44uyd5b5N2ojhJRkxtgraZFImcUE5U8XgNXD0A87R3 mGeBDByL1toI+aMprPM5fTc0OPDQmF3T2MIUQeLFR2d9JJSb/NRHZrYSggy9X02LVTLH z1FDDHGX6PPBaMZEuYDG13vn1tpa+qe5HlgoHG9d0ImiuZJ6ZIeQ3z5rME0BI2qfCQ06 uFWqRwpIlSYzz2pVN9bNVatAe81qW5JcPtiRIz+cFCndGa18gc8tdlIZquC+jqJMN0jd 1Sr6RkdJBy0nECE3VNPhU1iME6CKEdmBqztKPwV/0NpkvP/yO7z2QaHu+eSt60KsdZaD 64mA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@smile-fr.20230601.gappssmtp.com header.s=20230601 header.b=FxjbEnh4; arc=pass (i=1 spf=pass spfdomain=smile.fr dkim=pass dkdomain=smile-fr.20230601.gappssmtp.com dmarc=pass fromdomain=smile.fr); spf=pass (google.com: domain of linux-kernel+bounces-51942-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51942-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=smile.fr X-Forwarded-Encrypted: i=1; AJvYcCXLsc/BYeeaKm2IarulQQ3IUy17LCO1iSxizNnBbNcjKA+HEuZTKZUrtB9KDbD+l7JZzoTx0jVUd/leP1v4TdooOelQOA== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id fu11-20020a17090ad18b00b002964f6f750fsi3452893pjb.153.2024.02.04.15.33.47 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 15:33:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51942-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@smile-fr.20230601.gappssmtp.com header.s=20230601 header.b=FxjbEnh4; arc=pass (i=1 spf=pass spfdomain=smile.fr dkim=pass dkdomain=smile-fr.20230601.gappssmtp.com dmarc=pass fromdomain=smile.fr); spf=pass (google.com: domain of linux-kernel+bounces-51942-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51942-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=smile.fr 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 69BE3B22C74 for <ouuuleilei@gmail.com>; Sun, 4 Feb 2024 23:31:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3D43811CBF; Sun, 4 Feb 2024 23:30:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=smile-fr.20230601.gappssmtp.com header.i=@smile-fr.20230601.gappssmtp.com header.b="FxjbEnh4" Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 38EF4C153 for <linux-kernel@vger.kernel.org>; Sun, 4 Feb 2024 23:30:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707089424; cv=none; b=tdiSfkeZnHKIy7X2XsYt3mR293hU83SxgbXZpouF0NIG1mrHDUNlPToC8JATxJsWGmNsp+JVE0u9ey55nJWuaZVT0UxG0U7/cYKk1y7ZROfijNVUJX1Zr+7av0IytMPID7cq37br1T2CxfEN2nqPpKFYCaeFyr+E7Ytn/SZV8QI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707089424; c=relaxed/simple; bh=K3bUn+GZczaYqZp1k8uytl2FDj/+fQ0WkGUZ6BZIAH8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Dea1zxsMZwgUXuzjP24pOqHaXd2TpArkGnQU9I8eZ+8xkSwKP3wDJ+oJkC02FY6t6bgXYFGIFhOBm6kjIOShKdchIBRcuUBEG5j6WBnSQ5jBpgJ4HhuJLslQ9cwkYwAl7VBfwUR0wX5QpBR6lBTwoGVFjSdJQ35MeV/Pb/olsiQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=smile.fr; spf=pass smtp.mailfrom=smile.fr; dkim=pass (2048-bit key) header.d=smile-fr.20230601.gappssmtp.com header.i=@smile-fr.20230601.gappssmtp.com header.b=FxjbEnh4; arc=none smtp.client-ip=209.85.128.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=smile.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=smile.fr Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-40fdc7c97efso1047265e9.2 for <linux-kernel@vger.kernel.org>; Sun, 04 Feb 2024 15:30:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20230601.gappssmtp.com; s=20230601; t=1707089419; x=1707694219; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=yEPb87LSwbm9jYroFks9JSGpfASa83NBo9G3kNUG/KE=; b=FxjbEnh4IIM7TeX/gehuQoHnfFWHxG5daQOU5H5tBGZee65PIvPQKLiZpUd43/wUcU V1fydOI5z2SUvgfTKiRt6hjFVE70wqG1BHMQzLUfVG9dBXI3J4CNyqw7HS0cG9/PXUpG 6dhLf7ylgcIwS6jS6giIM/8mzXYfBZN03xjag9zw76A7jbiT4aFkd68SzTHiXmpRC208 SV2oOOj05O2o9El/GRYpZ26ynUACMrZTMHFUpvQJdFxMy91ahDAGHJ8DBg7YaHXqYRop 2b31Xky2QLuEQ1gpVQoWsrz6JXt4teL3UZSkGPvEz2I3vhpJVZA88Mv/3NEws/vswWZl 0Rtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707089419; x=1707694219; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yEPb87LSwbm9jYroFks9JSGpfASa83NBo9G3kNUG/KE=; b=uH3g3ibZofICRnnhCC6uGA1KQhlqNs0//DmoFuYUJ7WFRwzX6cRM1u1TVPKkHnGntd 99tygqOi/2jGWsOL3gJyzGSrGM1gFMJvcFyojbWkoV2ZoWupnT+EdXtW1eXfmqkrWD9g DS42kdLUE56II68C3OAZHJG42AtPI0DRkyA4shwrqcGyoet78DaW/p+WZ0ITTDxb1uAS k6l2iFuhosd4+hX/5bKevROQ/S24cvQl8chaDSwAmZpoxHH9Da/rEG9MpbjlZlTWnxsJ rPEXf0nERiE+WPHvrcCsNRhSaKsFteXPy01XKPP9KLatAMWGICS1DJFkKTRq7FZyuuX8 urOg== X-Gm-Message-State: AOJu0YyMSN74KN4tgcjWby3sfyZVyLtdiaBTXxn1xWnsdS54y5d/GL7G vCnrB/hEPEPa3hdZcg66R3LbQiebGhxoZ1NaJG7LAY32BzVHyLyn/2pooXwi44U= X-Received: by 2002:a05:600c:1d91:b0:40e:d425:85a with SMTP id p17-20020a05600c1d9100b0040ed425085amr3551319wms.17.1707089419436; Sun, 04 Feb 2024 15:30:19 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCX8lAa40j9Rf5TGlJvkrHev7zFKoJgkpWjLouHpg6XufKbRLABz6HodyDHWHPXxtx9i6kpvPoV5WEh4WJGYeXNGqlgDVWEA2hd8YrBppBhJPuRTomCMhKW+OJvn36PW8QR/hkN3Vnu12RNmdVXRqdlJ4Kxhr46cVDl7DSW9qnIFK74oo7dbj7WmS6o8Y/Z2ODb6uyp8QNOLbU1VufhZg4oiVUBsKktgx8fxxVxan3cSDJZ0rU9ksWHwL2LNsgGgcPOxOf5TzdjniFaqVt3No+uNBlIC1VCSi2Bq1/L9x+eMCQbiW113tIlCQ/UjkC4CW+rvClpktYvaPIpxAdTst4Ono323fkgXgpw4Ri+HsBp27bHShXGrIvfQSKWR0c4BsVw8xTaOUUYFmV3+tF8US9IVZ7cnlO2abGT3EHOwLxMwVqPAAix4DKbBSZD+NjTaXxPmnbFA4SD7rnAV4A/GiCtGJ4Pqws4B5eMbLdqllg16azQxxIaLuCe43I6fpIheG6JJwhmtavBE1chUcrJUnRp2cxcFBki0o4OiskaEm1SHwHKxKmPG4Od7LyUpCzxYJDh5+rOoGpD8sce8rPc2TFJ+QfJDESSksYOfLAJHlhemOPghYYVWpp9xRA1i7QtPHFm+0kIJj8FVJY4g1vewqfoLxgI4WsWAyQFWRJJ2bFuVpoWocqej1AV0v239PpKdTq30Ekt7NNtU4AodG7+Z8TUVbt1TIGUK1vV8VAHKlt+mH5g/42hwwMBgHphSB4egeAbvMlKLRaR56V9eCpSA3sLlT5ithvs= Received: from P-ASN-ECS-830T8C3.local ([89.159.1.53]) by smtp.gmail.com with ESMTPSA id n13-20020a5d588d000000b0033ae9e7f6b6sm6822576wrf.111.2024.02.04.15.30.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 15:30:19 -0800 (PST) From: Yoann Congal <yoann.congal@smile.fr> To: linux-fsdevel@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, x86@kernel.org Cc: =?utf-8?q?Andr=C3=A9_Almeida?= <andrealmeid@igalia.com>, Borislav Petkov <bp@alien8.de>, Darren Hart <dvhart@infradead.org>, Dave Hansen <dave.hansen@linux.intel.com>, Davidlohr Bueso <dave@stgolabs.net>, Geert Uytterhoeven <geert@linux-m68k.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, "H . Peter Anvin" <hpa@zytor.com>, Ingo Molnar <mingo@redhat.com>, Jiri Slaby <jirislaby@kernel.org>, John Ogness <john.ogness@linutronix.de>, Josh Triplett <josh@joshtriplett.org>, Masahiro Yamada <masahiroy@kernel.org>, Matthew Wilcox <willy@infradead.org>, Peter Zijlstra <peterz@infradead.org>, Petr Mladek <pmladek@suse.com>, Sergey Senozhatsky <senozhatsky@chromium.org>, Steven Rostedt <rostedt@goodmis.org>, Thomas Gleixner <tglx@linutronix.de>, Willem de Bruijn <willemdebruijn.kernel@gmail.com>, Yoann Congal <yoann.congal@smile.fr> Subject: [PATCH v3 0/2] printk: CONFIG_BASE_SMALL fix for LOG_CPU_MAX_BUF_SHIFT and removal Date: Mon, 5 Feb 2024 00:29:43 +0100 Message-Id: <20240204232945.1576403-1-yoann.congal@smile.fr> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790013213397948351 X-GMAIL-MSGID: 1790013213397948351 |
Series |
printk: CONFIG_BASE_SMALL fix for LOG_CPU_MAX_BUF_SHIFT and removal
|
|
Message
Yoann Congal
Feb. 4, 2024, 11:29 p.m. UTC
This series focuses on CONFIG_BASE_SMALL. The first patch fixes LOG_CPU_MAX_BUF_SHIFT when CONFIG_BASE_SMALL is used. The second patch globally replace CONFIG_BASE_SMALL usages by the equivalent !CONFIG_BASE_FULL. Patch history: v2 -> v3: Applied Luis Chamberlain's comments (Thanks!): * Split the single commit in two : one functional fix, one global removal. v2 patch was named "printk: Remove redundant CONFIG_BASE_SMALL" https://lore.kernel.org/all/20240127220026.1722399-1-yoann.congal@smile.fr/ * Reviewed-by: Masahiro Yamada <masahiroy@kernel.org> * Reviewed-by: John Ogness <john.ogness@linutronix.de> v1 -> v2: Applied Masahiro Yamada's comments (Thanks!): * Changed from "Change CONFIG_BASE_SMALL to type bool" to "Remove it and switch usage to !CONFIG_BASE_FULL" * Fixed "Fixes:" tag and reference to the mailing list thread. * Added a note about CONFIG_LOG_CPU_MAX_BUF_SHIFT changing. v1 patch was named "treewide: Change CONFIG_BASE_SMALL to bool type" https://lore.kernel.org/all/20240126163032.1613731-1-yoann.congal@smile.fr/ Yoann Congal (2): printk: Fix LOG_CPU_MAX_BUF_SHIFT when BASE_SMALL is enabled printk: Remove redundant CONFIG_BASE_SMALL arch/x86/include/asm/mpspec.h | 2 +- drivers/tty/vt/vc_screen.c | 2 +- include/linux/threads.h | 6 +++--- include/linux/udp.h | 2 +- include/linux/xarray.h | 2 +- init/Kconfig | 9 ++------- kernel/futex/core.c | 6 +++--- kernel/user.c | 2 +- 8 files changed, 13 insertions(+), 18 deletions(-)
Comments
On Mon 2024-02-05 00:29:43, Yoann Congal wrote: > This series focuses on CONFIG_BASE_SMALL. > The first patch fixes LOG_CPU_MAX_BUF_SHIFT when CONFIG_BASE_SMALL is > used. > The second patch globally replace CONFIG_BASE_SMALL usages by the > equivalent !CONFIG_BASE_FULL. Nit: I would personally do it the other way around and get rid of CONFIG_BASE_SMALL. CONFIG_BASE_FULL is the default and is used by most users. It is the CONFIG_BASE_SMALL which needs special treating. That said, I do not want to block this patchset because of my preferences. Best Regards, Petr