lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ae87385b-f830-dbdf-ebc7-1afb82a7fed0@infradead.org>
Date:   Tue, 28 Jul 2020 05:33:58 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     Andrew Morton <akpm@...ux-foundation.org>, broonie@...nel.org,
        linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-mm@...ck.org, linux-next@...r.kernel.org, mhocko@...e.cz,
        mm-commits@...r.kernel.org, sfr@...b.auug.org.au
Subject: Re: mmotm 2020-07-27-18-18 uploaded (mm/page_alloc.c)

On 7/27/20 6:19 PM, Andrew Morton wrote:
> The mm-of-the-moment snapshot 2020-07-27-18-18 has been uploaded to
> 
>    http://www.ozlabs.org/~akpm/mmotm/
> 
> mmotm-readme.txt says
> 
> README for mm-of-the-moment:
> 
> http://www.ozlabs.org/~akpm/mmotm/
> 
> This is a snapshot of my -mm patch queue.  Uploaded at random hopefully
> more than once a week.
> 
> You will need quilt to apply these patches to the latest Linus release (5.x
> or 5.x-rcY).  The series file is in broken-out.tar.gz and is duplicated in
> http://ozlabs.org/~akpm/mmotm/series
> 

on x86_64:

../mm/page_alloc.c:8355:48: warning: ‘struct compact_control’ declared inside parameter list will not be visible outside of this definition or declaration
 static int __alloc_contig_migrate_range(struct compact_control *cc,
                                                ^~~~~~~~~~~~~~~
../mm/page_alloc.c: In function ‘__alloc_contig_migrate_range’:
../mm/page_alloc.c:8364:24: error: dereferencing pointer to incomplete type ‘struct compact_control’
   .nid = zone_to_nid(cc->zone),
                        ^~
../mm/page_alloc.c:8378:10: error: implicit declaration of function ‘isolate_migratepages_range’; did you mean ‘populate_vma_page_range’? [-Werror=implicit-function-declaration]
    pfn = isolate_migratepages_range(cc, pfn, end);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~
          populate_vma_page_range
../mm/page_alloc.c: In function ‘alloc_contig_range’:
../mm/page_alloc.c:8431:9: error: variable ‘cc’ has initializer but incomplete type
  struct compact_control cc = {
         ^~~~~~~~~~~~~~~
../mm/page_alloc.c:8432:4: error: ‘struct compact_control’ has no member named ‘nr_migratepages’
   .nr_migratepages = 0,
    ^~~~~~~~~~~~~~~
../mm/page_alloc.c:8432:22: warning: excess elements in struct initializer
   .nr_migratepages = 0,
                      ^
../mm/page_alloc.c:8432:22: note: (near initialization for ‘cc’)
../mm/page_alloc.c:8433:4: error: ‘struct compact_control’ has no member named ‘order’
   .order = -1,
    ^~~~~
../mm/page_alloc.c:8433:12: warning: excess elements in struct initializer
   .order = -1,
            ^
../mm/page_alloc.c:8433:12: note: (near initialization for ‘cc’)
../mm/page_alloc.c:8434:4: error: ‘struct compact_control’ has no member named ‘zone’
   .zone = page_zone(pfn_to_page(start)),
    ^~~~
../mm/page_alloc.c:8434:11: warning: excess elements in struct initializer
   .zone = page_zone(pfn_to_page(start)),
           ^~~~~~~~~
../mm/page_alloc.c:8434:11: note: (near initialization for ‘cc’)
../mm/page_alloc.c:8435:4: error: ‘struct compact_control’ has no member named ‘mode’
   .mode = MIGRATE_SYNC,
    ^~~~
../mm/page_alloc.c:8435:11: warning: excess elements in struct initializer
   .mode = MIGRATE_SYNC,
           ^~~~~~~~~~~~
../mm/page_alloc.c:8435:11: note: (near initialization for ‘cc’)
../mm/page_alloc.c:8436:4: error: ‘struct compact_control’ has no member named ‘ignore_skip_hint’
   .ignore_skip_hint = true,
    ^~~~~~~~~~~~~~~~
../mm/page_alloc.c:8436:23: warning: excess elements in struct initializer
   .ignore_skip_hint = true,
                       ^~~~
../mm/page_alloc.c:8436:23: note: (near initialization for ‘cc’)
../mm/page_alloc.c:8437:4: error: ‘struct compact_control’ has no member named ‘no_set_skip_hint’
   .no_set_skip_hint = true,
    ^~~~~~~~~~~~~~~~
../mm/page_alloc.c:8437:23: warning: excess elements in struct initializer
   .no_set_skip_hint = true,
                       ^~~~
../mm/page_alloc.c:8437:23: note: (near initialization for ‘cc’)
../mm/page_alloc.c:8438:4: error: ‘struct compact_control’ has no member named ‘gfp_mask’
   .gfp_mask = current_gfp_context(gfp_mask),
    ^~~~~~~~
../mm/page_alloc.c:8438:15: warning: excess elements in struct initializer
   .gfp_mask = current_gfp_context(gfp_mask),
               ^~~~~~~~~~~~~~~~~~~
../mm/page_alloc.c:8438:15: note: (near initialization for ‘cc’)
../mm/page_alloc.c:8439:4: error: ‘struct compact_control’ has no member named ‘alloc_contig’
   .alloc_contig = true,
    ^~~~~~~~~~~~
../mm/page_alloc.c:8439:19: warning: excess elements in struct initializer
   .alloc_contig = true,
                   ^~~~
../mm/page_alloc.c:8439:19: note: (near initialization for ‘cc’)
../mm/page_alloc.c:8431:25: error: storage size of ‘cc’ isn’t known
  struct compact_control cc = {
                         ^~
../mm/page_alloc.c:8538:14: error: implicit declaration of function ‘isolate_freepages_range’; did you mean ‘populate_vma_page_range’? [-Werror=implicit-function-declaration]
  outer_end = isolate_freepages_range(&cc, outer_start, end);
              ^~~~~~~~~~~~~~~~~~~~~~~
              populate_vma_page_range
../mm/page_alloc.c:8431:25: warning: unused variable ‘cc’ [-Wunused-variable]
  struct compact_control cc = {
                         ^~


Full randconfig file is attached.


-- 
~Randy
Reported-by: Randy Dunlap <rdunlap@...radead.org>

View attachment "config-r4222" of type "text/plain" (115947 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ