Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1702131
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] z3fold: use per-cpu unbuddied lists |
| Date | 2017-08-02 16:00 +0200 |
| Message-ID | <ua2lP-281-5@gated-at.bofh.it> (permalink) |
| References | <u9Z4D-aO-43@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi Vitaly,
[auto build test ERROR on mmotm/master]
[also build test ERROR on v4.13-rc3 next-20170802]
[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/Vitaly-Wool/z3fold-use-per-cpu-unbuddied-lists/20170802-211153
base: git://git.cmpxchg.org/linux-mmotm.git master
config: i386-randconfig-x019-201731 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
mm/z3fold.c: In function 'free_pages_work':
>> mm/z3fold.c:310:3: error: implicit declaration of function 'cond_resched' [-Werror=implicit-function-declaration]
cond_resched();
^~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/cond_resched +310 mm/z3fold.c
292
293 static void free_pages_work(struct work_struct *w)
294 {
295 struct z3fold_pool *pool = container_of(w, struct z3fold_pool, work);
296
297 spin_lock(&pool->stale_lock);
298 while (!list_empty(&pool->stale)) {
299 struct z3fold_header *zhdr = list_first_entry(&pool->stale,
300 struct z3fold_header, buddy);
301 struct page *page = virt_to_page(zhdr);
302
303 list_del(&zhdr->buddy);
304 if (WARN_ON(!test_bit(PAGE_STALE, &page->private)))
305 continue;
306 clear_bit(NEEDS_COMPACTING, &page->private);
307 spin_unlock(&pool->stale_lock);
308 cancel_work_sync(&zhdr->work);
309 free_z3fold_page(page);
> 310 cond_resched();
311 spin_lock(&pool->stale_lock);
312 }
313 spin_unlock(&pool->stale_lock);
314 }
315
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] z3fold: use per-cpu unbuddied lists Vitaly Wool <vitalywool@gmail.com> - 2017-08-02 12:30 +0200 Re: [PATCH] z3fold: use per-cpu unbuddied lists kbuild test robot <lkp@intel.com> - 2017-08-02 16:00 +0200 Re: [PATCH] z3fold: use per-cpu unbuddied lists Andrew Morton <akpm@linux-foundation.org> - 2017-08-03 01:10 +0200
csiph-web