From: kbuild test robot <lkp@intel.com>
To: Suren Baghdasaryan <surenb@google.com>
Cc: kbuild-all@01.org, gregkh@linuxfoundation.org, tj@kernel.org,
lizefan@huawei.com, hannes@cmpxchg.org, axboe@kernel.dk,
dennis@kernel.org, dennisszhou@gmail.com, mingo@redhat.com,
peterz@infradead.org, akpm@linux-foundation.org, corbet@lwn.net,
cgroups@vger.kernel.org, linux-mm@kvack.org,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
kernel-team@android.com
Subject: Re: [PATCH 6/6] psi: introduce psi monitor
Date: Sat, 22 Dec 2018 22:12:25 +0800 [thread overview]
Message-ID: <201812222240.sjW3pwDk%fengguang.wu@intel.com> (raw)
In-Reply-To: <20181214171508.7791-7-surenb@google.com>
[-- Attachment #1: Type: text/plain, Size: 2058 bytes --]
Hi Suren,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v4.20-rc7]
[cannot apply to next-20181221]
[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/Suren-Baghdasaryan/psi-pressure-stall-monitors/20181215-181714
config: i386-randconfig-i2-12162314 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
kernel/sched/psi.o: In function `psi_trigger_create':
>> kernel/sched/psi.c:1029: undefined reference to `__udivdi3'
kernel/sched/psi.o: In function `psi_trigger_destroy':
kernel/sched/psi.c:1057: undefined reference to `__udivdi3'
vim +1029 kernel/sched/psi.c
1006
1007 struct psi_trigger *psi_trigger_create(struct psi_group *group,
1008 enum psi_states state, u32 threshold_us, u32 win_sz_us)
1009 {
1010 struct psi_trigger *t;
1011
1012 if (static_branch_likely(&psi_disabled))
1013 return ERR_PTR(-EOPNOTSUPP);
1014
1015 t = kzalloc(sizeof(*t), GFP_KERNEL);
1016 if (!t)
1017 return ERR_PTR(-ENOMEM);
1018
1019 t->group = group;
1020 t->state = state;
1021 t->threshold = threshold_us * NSEC_PER_USEC;
1022 t->win.size = win_sz_us * NSEC_PER_USEC;
1023 t->event = 0;
1024 init_waitqueue_head(&t->event_wait);
1025
1026 mutex_lock(&group->update_lock);
1027
1028 list_add(&t->node, &group->triggers);
> 1029 group->trigger_min_period = min(group->trigger_min_period,
1030 t->win.size / PSI_TRIG_UPDATES_PER_WIN);
1031 group->nr_triggers[t->state]++;
1032 group->trigger_mask |= (1 << t->state);
1033
1034 mutex_unlock(&group->update_lock);
1035
1036 return t;
1037 }
1038
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32613 bytes --]
WARNING: multiple messages have this Message-ID
From: kbuild test robot <lkp@intel.com>
To: Suren Baghdasaryan <surenb@google.com>
Cc: kbuild-all@01.org, gregkh@linuxfoundation.org, tj@kernel.org,
lizefan@huawei.com, hannes@cmpxchg.org, axboe@kernel.dk,
dennis@kernel.org, dennisszhou@gmail.com, mingo@redhat.com,
peterz@infradead.org, akpm@linux-foundation.org, corbet@lwn.net,
cgroups@vger.kernel.org, linux-mm@kvack.org,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
kernel-team@android.com, Suren Baghdasaryan <surenb@google.com>
Subject: Re: [PATCH 6/6] psi: introduce psi monitor
Date: Sat, 22 Dec 2018 22:12:25 +0800 [thread overview]
Message-ID: <201812222240.sjW3pwDk%fengguang.wu@intel.com> (raw)
Message-ID: <20181222141225.19WHh3XMwMQwEv4OmG43G_cqY4yNYx7xk-rX6x0j48A@z> (raw)
In-Reply-To: <20181214171508.7791-7-surenb@google.com>
[-- Attachment #1: Type: text/plain, Size: 2058 bytes --]
Hi Suren,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v4.20-rc7]
[cannot apply to next-20181221]
[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/Suren-Baghdasaryan/psi-pressure-stall-monitors/20181215-181714
config: i386-randconfig-i2-12162314 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
kernel/sched/psi.o: In function `psi_trigger_create':
>> kernel/sched/psi.c:1029: undefined reference to `__udivdi3'
kernel/sched/psi.o: In function `psi_trigger_destroy':
kernel/sched/psi.c:1057: undefined reference to `__udivdi3'
vim +1029 kernel/sched/psi.c
1006
1007 struct psi_trigger *psi_trigger_create(struct psi_group *group,
1008 enum psi_states state, u32 threshold_us, u32 win_sz_us)
1009 {
1010 struct psi_trigger *t;
1011
1012 if (static_branch_likely(&psi_disabled))
1013 return ERR_PTR(-EOPNOTSUPP);
1014
1015 t = kzalloc(sizeof(*t), GFP_KERNEL);
1016 if (!t)
1017 return ERR_PTR(-ENOMEM);
1018
1019 t->group = group;
1020 t->state = state;
1021 t->threshold = threshold_us * NSEC_PER_USEC;
1022 t->win.size = win_sz_us * NSEC_PER_USEC;
1023 t->event = 0;
1024 init_waitqueue_head(&t->event_wait);
1025
1026 mutex_lock(&group->update_lock);
1027
1028 list_add(&t->node, &group->triggers);
> 1029 group->trigger_min_period = min(group->trigger_min_period,
1030 t->win.size / PSI_TRIG_UPDATES_PER_WIN);
1031 group->nr_triggers[t->state]++;
1032 group->trigger_mask |= (1 << t->state);
1033
1034 mutex_unlock(&group->update_lock);
1035
1036 return t;
1037 }
1038
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32613 bytes --]
next prev parent reply other threads:[~2018-12-22 14:13 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-14 17:15 [PATCH 0/6] psi: pressure stall monitors Suren Baghdasaryan
2018-12-14 17:15 ` [PATCH 1/6] fs: kernfs: add poll file operation Suren Baghdasaryan
2018-12-14 17:15 ` [PATCH 2/6] kernel: cgroup: " Suren Baghdasaryan
2018-12-14 17:15 ` [PATCH 3/6] psi: eliminate lazy clock mode Suren Baghdasaryan
2018-12-17 14:57 ` Peter Zijlstra
2018-12-18 1:10 ` Suren Baghdasaryan
2018-12-14 17:15 ` [PATCH 4/6] psi: introduce state_mask to represent stalled psi states Suren Baghdasaryan
2018-12-17 15:55 ` Peter Zijlstra
2018-12-18 1:14 ` Suren Baghdasaryan
2018-12-18 10:17 ` Peter Zijlstra
2018-12-14 17:15 ` [PATCH 5/6] psi: rename psi fields in preparation for psi trigger addition Suren Baghdasaryan
2018-12-14 17:15 ` [PATCH 6/6] psi: introduce psi monitor Suren Baghdasaryan
2018-12-17 16:22 ` Peter Zijlstra
2018-12-18 1:21 ` Suren Baghdasaryan
2018-12-18 10:46 ` Peter Zijlstra
2018-12-18 11:20 ` Peter Zijlstra
2018-12-18 17:30 ` Johannes Weiner
2018-12-18 17:58 ` Suren Baghdasaryan
2018-12-18 19:18 ` Joel Fernandes
2018-12-18 20:29 ` Suren Baghdasaryan
2018-12-17 16:27 ` Peter Zijlstra
2018-12-18 1:22 ` Suren Baghdasaryan
2018-12-18 16:51 ` kbuild test robot
2018-12-22 14:12 ` kbuild test robot [this message]
2018-12-22 14:12 ` kbuild test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201812222240.sjW3pwDk%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=axboe@kernel.dk \
--cc=cgroups@vger.kernel.org \
--cc=corbet@lwn.net \
--cc=dennis@kernel.org \
--cc=dennisszhou@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=hannes@cmpxchg.org \
--cc=kbuild-all@01.org \
--cc=kernel-team@android.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lizefan@huawei.com \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=surenb@google.com \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox