All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android15-6.6 2/22] mm/page_alloc.c:191:1: sparse: sparse: symbol 'restrict_cma_redirect' was not declared. Should it be static?
@ 2024-04-27 15:59 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-04-27 15:59 UTC (permalink / raw
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

tree:   https://android.googlesource.com/kernel/common android15-6.6
head:   e1c0fd4e4964db2eb14c56a62e1a9cdb9d67445e
commit: 50c9052328749b2f96f994fc83e0bfd5c2cacf19 [2/22] ANDROID: fix !CONFIG_CMA build
config: x86_64-randconfig-123-20240427 (https://download.01.org/0day-ci/archive/20240427/202404272356.8EuFLuZa-lkp@intel.com/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240427/202404272356.8EuFLuZa-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404272356.8EuFLuZa-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> mm/page_alloc.c:191:1: sparse: sparse: symbol 'restrict_cma_redirect' was not declared. Should it be static?
   mm/page_alloc.c:2490:6: sparse: sparse: context imbalance in 'free_unref_page' - different lock contexts for basic block
   mm/page_alloc.c:2617:17: sparse: sparse: context imbalance in 'free_unref_page_list' - unexpected unlock
   mm/page_alloc.c:2847:20: sparse: sparse: context imbalance in 'rmqueue_pcplist' - different lock contexts for basic block
   mm/page_alloc.c:4526:9: sparse: sparse: context imbalance in '__alloc_pages_bulk' - different lock contexts for basic block
   mm/page_alloc.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/mm.h):
   include/linux/page-flags.h:242:46: sparse: sparse: self-comparison always evaluates to true

vim +/restrict_cma_redirect +191 mm/page_alloc.c

7281201922a006 Lee Schermerhorn 2010-05-26  178  
4518085e127dff Kemi Wang        2017-11-15 @179  DEFINE_STATIC_KEY_TRUE(vm_numa_stat_key);
4518085e127dff Kemi Wang        2017-11-15  180  
1c8aebe4c072bf Heesub Shin      2024-02-12  181  /*
1c8aebe4c072bf Heesub Shin      2024-02-12  182   * By default, when restrict_cma_redirect is false, all movable allocations
1c8aebe4c072bf Heesub Shin      2024-02-12  183   * are eligible for redirection to CMA region (i.e movable allocations are
1c8aebe4c072bf Heesub Shin      2024-02-12  184   * not restricted from CMA region), when there is sufficient space there.
1c8aebe4c072bf Heesub Shin      2024-02-12  185   * (see __rmqueue()).
1c8aebe4c072bf Heesub Shin      2024-02-12  186   *
1c8aebe4c072bf Heesub Shin      2024-02-12  187   * If restrict_cma_redirect is set to true, only MOVABLE allocations marked
1c8aebe4c072bf Heesub Shin      2024-02-12  188   * __GFP_CMA are eligible to be redirected to CMA region. These allocations
1c8aebe4c072bf Heesub Shin      2024-02-12  189   * are redirected if *any* free space is available in the CMA region.
1c8aebe4c072bf Heesub Shin      2024-02-12  190   */
1c8aebe4c072bf Heesub Shin      2024-02-12 @191  DEFINE_STATIC_KEY_FALSE(restrict_cma_redirect);
1c8aebe4c072bf Heesub Shin      2024-02-12  192  

:::::: The code at line 191 was first introduced by commit
:::::: 1c8aebe4c072bf18409cc78fc84407e24a437302 ANDROID: cma: redirect page allocation to CMA

:::::: TO: Heesub Shin <heesub.shin@samsung.com>
:::::: CC: Carlos Llamas <cmllamas@google.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-27 16:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-27 15:59 [android-common:android15-6.6 2/22] mm/page_alloc.c:191:1: sparse: sparse: symbol 'restrict_cma_redirect' was not declared. Should it be static? kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.