From: kernel test robot <lkp@intel.com>
To: Zi Yan <zi.yan@sent.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH 3/4] mm/compaction: optimize >0 order folio compaction by sorting source pages.
Date: Wed, 13 Sep 2023 16:19:57 +0800 [thread overview]
Message-ID: <202309131503.WNQRkkKb-lkp@intel.com> (raw)
In-Reply-To: <20230912162815.440749-4-zi.yan@sent.com>
Hi Zi,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:
[auto build test WARNING on akpm-mm/mm-everything]
[also build test WARNING on linus/master v6.6-rc1 next-20230913]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Zi-Yan/mm-compaction-add-support-for-0-order-folio-memory-compaction/20230913-003027
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20230912162815.440749-4-zi.yan%40sent.com
patch subject: [RFC PATCH 3/4] mm/compaction: optimize >0 order folio compaction by sorting source pages.
config: i386-randconfig-r006-20230913 (https://download.01.org/0day-ci/archive/20230913/202309131503.WNQRkkKb-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230913/202309131503.WNQRkkKb-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/202309131503.WNQRkkKb-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> mm/compaction.c:148:13: warning: 'sort_folios_by_order' defined but not used [-Wunused-function]
148 | static void sort_folios_by_order(struct list_head *pages)
| ^~~~~~~~~~~~~~~~~~~~
mm/compaction.c:135:13: warning: 'sort_free_pages' defined but not used [-Wunused-function]
135 | static void sort_free_pages(struct list_head *src, struct free_list *dst)
| ^~~~~~~~~~~~~~~
mm/compaction.c:110:22: warning: 'release_free_list' defined but not used [-Wunused-function]
110 | static unsigned long release_free_list(struct free_list *freepages)
| ^~~~~~~~~~~~~~~~~
vim +/sort_folios_by_order +148 mm/compaction.c
147
> 148 static void sort_folios_by_order(struct list_head *pages)
149 {
150 struct free_list page_list[MAX_ORDER + 1];
151 int order;
152 struct folio *folio, *next;
153
154 for (order = 0; order <= MAX_ORDER; order++) {
155 INIT_LIST_HEAD(&page_list[order].pages);
156 page_list[order].nr_free = 0;
157 }
158
159 list_for_each_entry_safe(folio, next, pages, lru) {
160 order = folio_order(folio);
161
162 if (order > MAX_ORDER)
163 continue;
164
165 list_move(&folio->lru, &page_list[order].pages);
166 page_list[order].nr_free++;
167 }
168
169 for (order = MAX_ORDER; order >= 0; order--) {
170 if (page_list[order].nr_free) {
171
172 list_for_each_entry_safe(folio, next,
173 &page_list[order].pages, lru) {
174 list_move_tail(&folio->lru, pages);
175 }
176 }
177 }
178 }
179
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2023-09-13 8:20 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-12 16:28 [RFC PATCH 0/4] Enable >0 order folio memory compaction Zi Yan
2023-09-12 16:28 ` [RFC PATCH 1/4] mm/compaction: add support for " Zi Yan
2023-09-12 17:32 ` Johannes Weiner
2023-09-12 17:38 ` Zi Yan
2023-09-13 3:19 ` kernel test robot
2023-09-15 9:33 ` Baolin Wang
2023-09-18 17:06 ` Zi Yan
2023-10-10 8:07 ` Huang, Ying
2023-09-12 16:28 ` [RFC PATCH 2/4] mm/compaction: optimize >0 order folio compaction with free page split Zi Yan
2023-09-18 7:34 ` Baolin Wang
2023-09-18 17:20 ` Zi Yan
2023-09-20 8:15 ` Baolin Wang
2023-09-12 16:28 ` [RFC PATCH 3/4] mm/compaction: optimize >0 order folio compaction by sorting source pages Zi Yan
2023-09-12 17:56 ` Johannes Weiner
2023-09-12 20:31 ` Zi Yan
2023-09-13 8:19 ` kernel test robot [this message]
2023-09-12 16:28 ` [RFC PATCH 4/4] mm/compaction: enable compacting >0 order folios Zi Yan
2023-09-15 9:41 ` Baolin Wang
2023-09-18 17:17 ` Zi Yan
2023-09-20 14:44 ` kernel test robot
2023-09-21 0:55 ` [RFC PATCH 0/4] Enable >0 order folio memory compaction Luis Chamberlain
2023-09-21 1:16 ` Luis Chamberlain
2023-09-21 2:05 ` John Hubbard
2023-09-21 3:14 ` Luis Chamberlain
2023-09-21 15:56 ` Zi Yan
2023-10-02 12:32 ` Ryan Roberts
2023-10-09 13:24 ` Zi Yan
2023-10-09 14:10 ` Ryan Roberts
2023-10-09 15:42 ` Zi Yan
2023-10-09 15:52 ` Zi Yan
2023-10-10 10:00 ` Ryan Roberts
2023-10-09 7:12 ` Huang, Ying
2023-10-09 13:43 ` Zi Yan
2023-10-10 6:08 ` Huang, Ying
2023-10-10 16:48 ` Zi Yan
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=202309131503.WNQRkkKb-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=zi.yan@sent.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.