Content-Type: multipart/mixed; boundary="===============3300997535654723450==" MIME-Version: 1.0 From: kbuild test robot To: kbuild-all@lists.01.org Subject: Re: [RFC v2] mm: Proactive compaction Date: Mon, 04 Nov 2019 01:51:31 +0800 Message-ID: <201911040144.Rz3ysJsL%lkp@intel.com> In-Reply-To: <20191031005127.8037-1-nigupta@nvidia.com> List-Id: --===============3300997535654723450== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Nitin, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on mmotm/master] url: https://github.com/0day-ci/linux/commits/Nitin-Gupta/mm-Proactive-c= ompaction/20191102-074747 base: git://git.cmpxchg.org/linux-mmotm.git master reproduce: # apt-get install sparse # sparse version: v0.6.1-6-g57f8611-dirty make ARCH=3Dx86_64 allmodconfig make C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag Reported-by: kbuild test robot sparse warnings: (new ones prefixed by >>) >> mm/compaction.c:29:25: sparse: sparse: symbol 'compaction_states' was no= t declared. Should it be static? include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast from restr= icted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: incorrect type = in argument 3 (different base types) @@ expected unsigned long flags @@ = got restricted gfpunsigned long flags @@ include/trace/events/compaction.h:170:1: sparse: expected unsigned lo= ng flags include/trace/events/compaction.h:170:1: sparse: got restricted gfp_t= [usertype] gfp_mask include/trace/events/compaction.h:170:1: sparse: sparse: cast to restric= ted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: cast to restric= ted gfp_t include/trace/events/compaction.h:170:1: sparse: sparse: restricted gfp_= t degrades to integer include/trace/events/compaction.h:170:1: sparse: sparse: restricted gfp_= t degrades to integer include/linux/gfp.h:318:27: sparse: sparse: restricted gfp_t degrades to= integer mm/compaction.c:2343:39: sparse: sparse: incorrect type in initializer (= different base types) @@ expected int may_perform_io @@ got restricte= d gint may_perform_io @@ mm/compaction.c:2343:39: sparse: expected int may_perform_io mm/compaction.c:2343:39: sparse: got restricted gfp_t mm/compaction.c:485:13: sparse: sparse: context imbalance in 'compact_lo= ck_irqsave' - wrong count at exit include/linux/spinlock.h:393:9: sparse: sparse: context imbalance in 'co= mpact_unlock_should_abort' - unexpected unlock mm/compaction.c:641:39: sparse: sparse: context imbalance in 'isolate_fr= eepages_block' - unexpected unlock mm/compaction.c:1050:39: sparse: sparse: context imbalance in 'isolate_m= igratepages_block' - unexpected unlock Please review and possibly fold the followup patch. --- 0-DAY kernel test infrastructure Open Source Technology Cent= er https://lists.01.org/pipermail/kbuild-all Intel Corporati= on --===============3300997535654723450==--