* [PATCH v1] docs: housekeeping: Fix struct member access in code example
@ 2026-05-01 4:38 Costa Shulyupin
2026-05-03 14:47 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Costa Shulyupin @ 2026-05-01 4:38 UTC (permalink / raw)
To: Jonathan Corbet, Shuah Khan, Ryan Cheevers, Costa Shulyupin,
Waiman Long, Frederic Weisbecker, linux-doc, linux-kernel
No such array housekeeping_cpumasks
Fix to housekeeping.cpumasks.
Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
---
Documentation/core-api/housekeeping.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/core-api/housekeeping.rst b/Documentation/core-api/housekeeping.rst
index 92c6e53cea75..ccb0a88b9cb3 100644
--- a/Documentation/core-api/housekeeping.rst
+++ b/Documentation/core-api/housekeeping.rst
@@ -99,7 +99,7 @@ the same RCU read side critical section.
A typical layout example would look like this on the update side
(``housekeeping_update()``)::
- rcu_assign_pointer(housekeeping_cpumasks[type], trial);
+ rcu_assign_pointer(housekeeping.cpumasks[type], trial);
synchronize_rcu();
flush_workqueue(example_workqueue);
--
2.53.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1] docs: housekeeping: Fix struct member access in code example
2026-05-01 4:38 [PATCH v1] docs: housekeeping: Fix struct member access in code example Costa Shulyupin
@ 2026-05-03 14:47 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2026-05-03 14:47 UTC (permalink / raw)
To: Costa Shulyupin, Shuah Khan, Ryan Cheevers, Costa Shulyupin,
Waiman Long, Frederic Weisbecker, linux-doc, linux-kernel
Costa Shulyupin <costa.shul@redhat.com> writes:
> No such array housekeeping_cpumasks
>
> Fix to housekeeping.cpumasks.
>
> Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
> ---
> Documentation/core-api/housekeeping.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/core-api/housekeeping.rst b/Documentation/core-api/housekeeping.rst
> index 92c6e53cea75..ccb0a88b9cb3 100644
> --- a/Documentation/core-api/housekeeping.rst
> +++ b/Documentation/core-api/housekeeping.rst
> @@ -99,7 +99,7 @@ the same RCU read side critical section.
> A typical layout example would look like this on the update side
> (``housekeeping_update()``)::
>
> - rcu_assign_pointer(housekeeping_cpumasks[type], trial);
> + rcu_assign_pointer(housekeeping.cpumasks[type], trial);
> synchronize_rcu();
This looks actively wrong to me. I think it should be:
housekeeping_cpumask(type)
... Frederic ... ?
jon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-03 14:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-01 4:38 [PATCH v1] docs: housekeeping: Fix struct member access in code example Costa Shulyupin
2026-05-03 14:47 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox