Waiman Long 2bdfd2825c cgroup/cpuset: Fix "suspicious RCU usage" lockdep warning
It was found that a "suspicious RCU usage" lockdep warning was issued
with the rcu_read_lock() call in update_sibling_cpumasks().  It is
because the update_cpumasks_hier() function may sleep. So we have
to release the RCU lock, call update_cpumasks_hier() and reacquire
it afterward.

Also add a percpu_rwsem_assert_held() in update_sibling_cpumasks()
instead of stating that in the comment.

Fixes: 4716909cc5c5 ("cpuset: Track cpusets that use parent's effective_cpus")
Signed-off-by: Waiman Long <longman@redhat.com>
Tested-by: Phil Auld <pauld@redhat.com>
Reviewed-by: Phil Auld <pauld@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2022-02-03 05:59:01 -10:00
2022-01-11 17:24:45 -08:00
2021-12-19 12:38:53 -08:00
2022-01-11 12:58:41 -08:00
2022-01-11 16:09:36 -08:00
2022-01-11 16:09:36 -08:00
2022-01-11 17:24:45 -08:00
2022-01-11 17:24:45 -08:00
2022-01-11 17:24:45 -08:00
2022-01-11 09:51:26 -08:00
2022-01-11 13:03:06 -08:00
2022-01-10 19:06:09 -08:00
2022-01-11 16:09:36 -08:00
2022-01-11 14:26:55 -08:00
2021-12-23 09:55:58 -08:00
2022-01-11 13:11:10 -08:00
2022-01-10 18:55:43 -08:00
2022-01-11 17:06:42 -08:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
No description provided
Readme 5.7 GiB
Languages
C 97.6%
Assembly 1%
Shell 0.5%
Python 0.3%
Makefile 0.3%