aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/array.c')
-rw-r--r--fs/proc/array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c
index 77a8eacbe032..375e8bf0dd24 100644
--- a/fs/proc/array.c
+++ b/fs/proc/array.c
@@ -453,7 +453,7 @@ static int do_task_stat(struct seq_file *m, struct pid_namespace *ns,
453 cutime = sig->cutime; 453 cutime = sig->cutime;
454 cstime = sig->cstime; 454 cstime = sig->cstime;
455 cgtime = sig->cgtime; 455 cgtime = sig->cgtime;
456 rsslim = ACCESS_ONCE(sig->rlim[RLIMIT_RSS].rlim_cur); 456 rsslim = READ_ONCE(sig->rlim[RLIMIT_RSS].rlim_cur);
457 457
458 /* add up live thread stats at the group level */ 458 /* add up live thread stats at the group level */
459 if (whole) { 459 if (whole) {