diff options
| author | Aleksa Sarai <cyphar@cyphar.com> | 2019-10-17 02:50:01 +1100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-21 10:35:24 +0100 |
| commit | bd0c9ceb8ab93fccb5f00590e0cafd3662a948ed (patch) | |
| tree | 51f77fe13a3c70e841eccf870d32a1ef31dde548 /scripts/basic | |
| parent | 6eca9292c59b7a5719276e0e78ea3f0deb7b6cbe (diff) | |
cgroup: pids: use atomic64_t for pids->limit
commit a713af394cf382a30dd28a1015cbe572f1b9ca75 upstream.
Because pids->limit can be changed concurrently (but we don't want to
take a lock because it would be needlessly expensive), use atomic64_ts
instead.
Fixes: commit 49b786ea146f ("cgroup: implement the PIDs subsystem")
Cc: stable@vger.kernel.org # v4.3+
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
