[PATCH] drm/ttm: optimize the pool shrinker a bit

kernel test robot lkp at intel.com
Fri Apr 2 04:18:56 UTC 2021


Hi "Christian,

I love your patch! Perhaps something to improve:

[auto build test WARNING on drm-tip/drm-tip]
[also build test WARNING on drm-exynos/exynos-drm-next tegra-drm/drm/tegra/for-next next-20210401]
[cannot apply to drm-intel/for-linux-next linus/master drm/drm-next v5.12-rc5]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Christian-K-nig/drm-ttm-optimize-the-pool-shrinker-a-bit/20210401-215623
base:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
config: x86_64-randconfig-a004-20210401 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 1c268a8ff4e90a85d0e634350b1104080614cf2b)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/c0f3e98ef4f78d5e9d874be1f339186faf5c60bc
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Christian-K-nig/drm-ttm-optimize-the-pool-shrinker-a-bit/20210401-215623
        git checkout c0f3e98ef4f78d5e9d874be1f339186faf5c60bc
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All warnings (new ones prefixed by >>):

>> mm/vmscan.c:415: warning: expecting prototype for sync_shrinker(). Prototype was for sync_shrinkers() instead
   mm/vmscan.c:1627: warning: wrong kernel-doc identifier on line:
    * Isolating page from the lruvec to fill in @dst list by nr_to_scan times.


vim +415 mm/vmscan.c

   410	
   411	/**
   412	 * sync_shrinker - Wait for all running shrinkers to complete.
   413	 */
   414	void sync_shrinkers(void)
 > 415	{
   416		down_write(&shrinker_rwsem);
   417		up_write(&shrinker_rwsem);
   418	}
   419	EXPORT_SYMBOL(sync_shrinkers);
   420	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 30860 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20210402/eef1f9a5/attachment-0001.gz>


More information about the dri-devel mailing list