From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android12-5.10 2/2] mm/swap.c:778: warning: Function parameter or member 'tail' not described in 'mark_page_lazyfree_movetail'
Date: Fri, 31 Jul 2026 23:25:07 +0800 [thread overview]
Message-ID: <202607312302.NvrNuo1y-lkp@intel.com> (raw)
Hi Charan,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common android12-5.10
head: 1290154c48656bd1012a837076a0fbe379330eb3
commit: 8011eb22150e5bb6eb1834ce9913f36081d48ab5 [2/2] ANDROID: mm: provision to add shmem pages to inactive file lru head
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20260731/202607312302.NvrNuo1y-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260731/202607312302.NvrNuo1y-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/202607312302.NvrNuo1y-lkp@intel.com/
All warnings (new ones prefixed by >>):
mm/swap.c:502: warning: Function parameter or member 'vma_flags' not described in '__lru_cache_add_inactive_or_unevictable'
mm/swap.c:502: warning: Excess function parameter 'vma' description in '__lru_cache_add_inactive_or_unevictable'
>> mm/swap.c:778: warning: Function parameter or member 'tail' not described in 'mark_page_lazyfree_movetail'
vim +778 mm/swap.c
10853a039208c4a Minchan Kim 2016-01-15 769
9975da5f43bb72a Vinayak Menon 2021-03-18 770 /**
9975da5f43bb72a Vinayak Menon 2021-03-18 771 * mark_page_lazyfree_movetail - make a swapbacked page lazyfree
9975da5f43bb72a Vinayak Menon 2021-03-18 772 * @page: page to deactivate
9975da5f43bb72a Vinayak Menon 2021-03-18 773 *
9975da5f43bb72a Vinayak Menon 2021-03-18 774 * mark_page_lazyfree_movetail() moves @page to the tail of inactive file list.
9975da5f43bb72a Vinayak Menon 2021-03-18 775 * This is done to accelerate the reclaim of @page.
9975da5f43bb72a Vinayak Menon 2021-03-18 776 */
8011eb22150e5bb Charan Teja Reddy 2021-06-25 777 void mark_page_lazyfree_movetail(struct page *page, bool tail)
9975da5f43bb72a Vinayak Menon 2021-03-18 @778 {
9975da5f43bb72a Vinayak Menon 2021-03-18 779 if (PageLRU(page) && !PageUnevictable(page) && PageSwapBacked(page) &&
9975da5f43bb72a Vinayak Menon 2021-03-18 780 !PageSwapCache(page)) {
9975da5f43bb72a Vinayak Menon 2021-03-18 781 struct pagevec *pvec;
9975da5f43bb72a Vinayak Menon 2021-03-18 782
9975da5f43bb72a Vinayak Menon 2021-03-18 783 local_lock(&lru_pvecs.lock);
9975da5f43bb72a Vinayak Menon 2021-03-18 784 pvec = this_cpu_ptr(&lru_pvecs.lru_lazyfree_movetail);
9975da5f43bb72a Vinayak Menon 2021-03-18 785 get_page(page);
9975da5f43bb72a Vinayak Menon 2021-03-18 786 if (pagevec_add_and_need_flush(pvec, page))
9975da5f43bb72a Vinayak Menon 2021-03-18 787 pagevec_lru_move_fn(pvec,
8011eb22150e5bb Charan Teja Reddy 2021-06-25 788 lru_lazyfree_movetail_fn, &tail);
9975da5f43bb72a Vinayak Menon 2021-03-18 789 local_unlock(&lru_pvecs.lock);
9975da5f43bb72a Vinayak Menon 2021-03-18 790 }
9975da5f43bb72a Vinayak Menon 2021-03-18 791 }
9975da5f43bb72a Vinayak Menon 2021-03-18 792
:::::: The code at line 778 was first introduced by commit
:::::: 9975da5f43bb72a37faf3981709fff766ab4ca15 ANDROID: mm: allow fast reclaim of shmem pages
:::::: TO: Vinayak Menon <vinmenon@codeaurora.org>
:::::: CC: Suren Baghdasaryan <surenb@google.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-07-31 15:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202607312302.NvrNuo1y-lkp@intel.com \
--to=lkp@intel.com \
--cc=cros-kernel-buildreports@googlegroups.com \
--cc=oe-kbuild-all@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.