From: Dan Carpenter <dan.carpenter@linaro.org>
To: Kairui Song <ryncsn@gmail.com>
Cc: kernel test robot <lkp@intel.com>,
oe-kbuild@lists.linux.dev, Dan Carpenter <error27@gmail.com>
Subject: Re: mm/vmscan.c:784 __remove_mapping() error: uninitialized symbol 'ci'.
Date: Wed, 7 Jan 2026 22:25:56 +0300 [thread overview]
Message-ID: <aV6zRKzGocxwhyce@stanley.mountain> (raw)
In-Reply-To: <aV6UzKs_f_q0IPH7@KASONG-MC4>
On Thu, Jan 08, 2026 at 01:17:15AM +0800, Kairui Song wrote:
> > be7c07d60e13ac Matthew Wilcox (Oracle 2021-12-23 779) if (folio_test_swapcache(folio)) {
> > 3d2c9087688777 David Hildenbrand 2023-08-21 780 swp_entry_t swap = folio->swap;
> > ac35a490237446 Yu Zhao 2022-09-18 781
> > aae466b0052e18 Joonsoo Kim 2020-08-11 782 if (reclaimed && !mapping_exiting(mapping))
> > 8927f6473e56e3 Matthew Wilcox (Oracle 2021-12-23 783) shadow = workingset_eviction(folio, target_memcg);
> > 8578e0c00dcf0c Kairui Song 2025-09-17 @784 __swap_cache_del_folio(ci, folio, swap, shadow);
>
> Seems a false positive to me, folio_test_swapcache is true here, and the folio is locked, so it must be true above too where ci is set.
>
> I'll check if some cleanup can be done, maybe silent the bot.
>
You're reading email with lei. The way these emails normally work
is that I read through it and only forward the useful emails. In
this case, I saw it was a false positive.
Unfortunately, we're in a pause while Linaro raises funds to continue
this project so we might start sending unfiltered emails for a bit...
There are a number of other Smatch related things that I normally do
when we can raise funds again.
https://lore.kernel.org/all/aTaiGSbWZ9DJaGo7@stanley.mountain/
regards,
dan carpenter
prev parent reply other threads:[~2026-01-07 19:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-31 20:01 mm/vmscan.c:784 __remove_mapping() error: uninitialized symbol 'ci' kernel test robot
2026-01-07 17:15 ` Kairui Song
2026-01-07 17:17 ` Kairui Song
2026-01-07 19:25 ` Dan Carpenter [this message]
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=aV6zRKzGocxwhyce@stanley.mountain \
--to=dan.carpenter@linaro.org \
--cc=error27@gmail.com \
--cc=lkp@intel.com \
--cc=oe-kbuild@lists.linux.dev \
--cc=ryncsn@gmail.com \
/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.