[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6dd91a4d-0a1b-1ef7-4db5-4ee5098223aa@oracle.com>
Date: Wed, 13 Mar 2024 15:26:13 -0400
From: Chris Hyser <chris.hyser@...cle.com>
To: "Joel Fernandes (Google)" <joel@...lfernandes.org>,
linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>,
Borislav Petkov <bp@...en8.de>, Peter Zijlstra <peterz@...radead.org>,
Josh Poimboeuf <jpoimboe@...nel.org>,
Pawan Gupta <pawan.kumar.gupta@...ux.intel.com>,
Jonathan Corbet <corbet@....net>
Cc: Suleiman Souhlal <suleiman@...gle.com>,
Youssef Esmat <youssefesmat@...gle.com>,
Steven Rostedt
<rostedt@...dmis.org>,
David Vernet <void@...ifault.com>,
"Paul E . McKenney" <paulmck@...nel.org>,
joseph.salisbury@...onical.com,
Dietmar Eggemann <dietmar.eggemann@....com>,
Ben Segall
<bsegall@...gle.com>, Mel Gorman <mgorman@...e.de>,
Daniel Bristot de Oliveira <bristot@...hat.com>,
Valentin Schneider <vschneid@...hat.com>,
Luca Abeni <luca.abeni@...tannapisa.it>,
Tommaso Cucinotta <tommaso.cucinotta@...tannapisa.it>,
Vineeth Pillai <vineeth@...byteword.org>,
Shuah Khan <skhan@...uxfoundation.org>, Phil Auld <pauld@...hat.com>,
linux-doc@...r.kernel.org
Subject: Re: [PATCH v2 09/15] admin-guide/hw-vuln: Correct prctl() argument
description
Sorry. This is a resend that should have better formatting.
On 3/13/24 15:14, Chris Hyser wrote:
>
> On 3/12/24 21:24, Joel Fernandes (Google) wrote:
>> Correct the description for arg4 which appears to be outdated.
>
> Technically, the constants referenced in the documentation are still
> defined in prctl.h, and there are BUILD_BUG_ON() checks to ensure they
> match their PIDTYPE_ equivalents. I would presume these should be left
> in as it is technically a defined interface and user code could break.
>
>
>> Signed-off-by: Joel Fernandes (Google) <joel@...lfernandes.org>
>> ---
>> Documentation/admin-guide/hw-vuln/core-scheduling.rst | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/Documentation/admin-guide/hw-vuln/core-scheduling.rst
>> b/Documentation/admin-guide/hw-vuln/core-scheduling.rst
>> index cf1eeefdfc32..338d639a8127 100644
>> --- a/Documentation/admin-guide/hw-vuln/core-scheduling.rst
>> +++ b/Documentation/admin-guide/hw-vuln/core-scheduling.rst
>> @@ -62,8 +62,8 @@ arg3:
>> arg4:
>> ``pid_type`` for which the operation applies. It is one of
>> - ``PR_SCHED_CORE_SCOPE_``-prefixed macro constants. For example,
>> if arg4
>> - is ``PR_SCHED_CORE_SCOPE_THREAD_GROUP``, then the operation of
>> this command
>> + ``PIDTIME_``-prefixed macro constants. For example, if arg4
Presumably you mean PIDTYPE_ here? Otherwise looks good and in
retrospect this is probably what should have been done in the first place.
>> + is ``PIDTYPE_TGID``, then the operation of this command
>> will be performed for all tasks in the task group of ``pid``.
>> arg5:
>
>
> Reviewed-by: Chris Hyser <chris.hyser@...cle.com>
>
Powered by blists - more mailing lists