Re: [PATCH 02/14] resource limits: aggregate task highwater marks to cgroup level

From: kbuild test robot
Date: Fri Jul 15 2016 - 08:39:48 EST


Hi,

[auto build test ERROR on v4.7-rc7]
[also build test ERROR on next-20160715]
[cannot apply to tip/sched/core rdma/master]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Topi-Miettinen/Present-useful-limits-to-user-v2/20160715-194333
config: i386-randconfig-s1-201628 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

kernel/cgroup.c: In function 'cgroup_update_stats_from_task':
>> kernel/cgroup.c:4681:12: error: 'struct cgroup' has no member named 'stats'
if (cgrp->stats.resource_hiwater[i] <
^~
>> kernel/cgroup.c:4682:11: error: 'struct signal_struct' has no member named 'resource_highwatermark'
sig->resource_highwatermark[i])
^~
kernel/cgroup.c:4683:9: error: 'struct cgroup' has no member named 'stats'
cgrp->stats.resource_hiwater[i] =
^~
kernel/cgroup.c:4684:9: error: 'struct signal_struct' has no member named 'resource_highwatermark'
sig->resource_highwatermark[i];
^~
kernel/cgroup.c: In function 'cgroupstats_build':
kernel/cgroup.c:4773:36: error: 'struct cgroup' has no member named 'stats'
stats->resource_hiwater[i] = cgrp->stats.resource_hiwater[i];
^~

vim +4681 kernel/cgroup.c

4675 /* Attempt a lockless read on the first round. */
4676 nextseq = 0;
4677 do {
4678 seq = nextseq;
4679 flags = read_seqbegin_or_lock_irqsave(&sig->stats_lock, &seq);
4680 for (i = 0; i < RLIM_NLIMITS; i++)
> 4681 if (cgrp->stats.resource_hiwater[i] <
> 4682 sig->resource_highwatermark[i])
4683 cgrp->stats.resource_hiwater[i] =
4684 sig->resource_highwatermark[i];
4685

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data