All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com, Dan Carpenter <error27@gmail.com>
Subject: Re: [PATCH] mm: switch deferred split shrinker to list_lru
Date: Thu, 12 Mar 2026 18:07:01 +0800	[thread overview]
Message-ID: <202603121741.Y8GG0oCq-lkp@intel.com> (raw)

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20260311154358.150977-1-hannes@cmpxchg.org>
References: <20260311154358.150977-1-hannes@cmpxchg.org>
TO: Johannes Weiner <hannes@cmpxchg.org>
TO: Andrew Morton <akpm@linux-foundation.org>
CC: Linux Memory Management List <linux-mm@kvack.org>
CC: David Hildenbrand <david@redhat.com>
CC: Zi Yan <ziy@nvidia.com>
CC: "Liam R. Howlett" <Liam.Howlett@oracle.com>
CC: Usama Arif <usama.arif@linux.dev>
CC: Kiryl Shutsemau <kas@kernel.org>
CC: Dave Chinner <david@fromorbit.com>
CC: Roman Gushchin <roman.gushchin@linux.dev>
CC: linux-kernel@vger.kernel.org

Hi Johannes,

kernel test robot noticed the following build warnings:

[auto build test WARNING on akpm-mm/mm-everything]

url:    https://github.com/intel-lab-lkp/linux/commits/Johannes-Weiner/mm-switch-deferred-split-shrinker-to-list_lru/20260312-000508
base:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link:    https://lore.kernel.org/r/20260311154358.150977-1-hannes%40cmpxchg.org
patch subject: [PATCH] mm: switch deferred split shrinker to list_lru
:::::: branch date: 18 hours ago
:::::: commit date: 18 hours ago
config: parisc-randconfig-r073-20260312 (https://download.01.org/0day-ci/archive/20260312/202603121741.Y8GG0oCq-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 9.5.0
smatch: v0.5.0-9004-gb810ac53

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>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202603121741.Y8GG0oCq-lkp@intel.com/

smatch warnings:
mm/list_lru.c:24 lock_list_lru() warn: mixing irqsave and irq
mm/list_lru.c:35 unlock_list_lru() warn: mixing irqsave and irq

vim +24 mm/list_lru.c

c0a5b560938a0f2 Vladimir Davydov 2015-02-12  17  
09adc9da498223d Johannes Weiner  2026-03-11  18  static inline void lock_list_lru(struct list_lru_one *l, bool irq,
09adc9da498223d Johannes Weiner  2026-03-11  19  				 unsigned long *irq_flags)
09adc9da498223d Johannes Weiner  2026-03-11  20  {
09adc9da498223d Johannes Weiner  2026-03-11  21  	if (irq_flags)
09adc9da498223d Johannes Weiner  2026-03-11  22  		spin_lock_irqsave(&l->lock, *irq_flags);
09adc9da498223d Johannes Weiner  2026-03-11  23  	else if (irq)
09adc9da498223d Johannes Weiner  2026-03-11 @24  		spin_lock_irq(&l->lock);
09adc9da498223d Johannes Weiner  2026-03-11  25  	else
09adc9da498223d Johannes Weiner  2026-03-11  26  		spin_lock(&l->lock);
09adc9da498223d Johannes Weiner  2026-03-11  27  }
09adc9da498223d Johannes Weiner  2026-03-11  28  
09adc9da498223d Johannes Weiner  2026-03-11  29  static inline void unlock_list_lru(struct list_lru_one *l, bool irq,
09adc9da498223d Johannes Weiner  2026-03-11  30  				   unsigned long *irq_flags)
09adc9da498223d Johannes Weiner  2026-03-11  31  {
09adc9da498223d Johannes Weiner  2026-03-11  32  	if (irq_flags)
09adc9da498223d Johannes Weiner  2026-03-11  33  		spin_unlock_irqrestore(&l->lock, *irq_flags);
09adc9da498223d Johannes Weiner  2026-03-11  34  	else if (irq)
09adc9da498223d Johannes Weiner  2026-03-11 @35  		spin_unlock_irq(&l->lock);
09adc9da498223d Johannes Weiner  2026-03-11  36  	else
09adc9da498223d Johannes Weiner  2026-03-11  37  		spin_unlock(&l->lock);
09adc9da498223d Johannes Weiner  2026-03-11  38  }
09adc9da498223d Johannes Weiner  2026-03-11  39  

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

             reply	other threads:[~2026-03-12 10:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-12 10:07 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-03-11 15:43 [PATCH] mm: switch deferred split shrinker to list_lru Johannes Weiner
2026-03-11 15:46 ` Johannes Weiner
2026-03-11 15:49   ` David Hildenbrand (Arm)
2026-03-11 17:00 ` Usama Arif
2026-03-11 17:42   ` Johannes Weiner
2026-03-11 19:24     ` Johannes Weiner
2026-03-11 20:09       ` Shakeel Butt
2026-03-11 21:59         ` Yosry Ahmed
2026-03-11 22:23 ` Dave Chinner
2026-03-12 14:26   ` Johannes Weiner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202603121741.Y8GG0oCq-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=error27@gmail.com \
    --cc=oe-kbuild@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.