lkml.org 
[lkml]   [2021]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: mmotm 2021-01-12-01-57 uploaded (NR_SWAPCACHE in mm/)
From
Date
On 1/12/21 1:58 AM, akpm@linux-foundation.org wrote:
> The mm-of-the-moment snapshot 2021-01-12-01-57 has been uploaded to
>
> https://www.ozlabs.org/~akpm/mmotm/
>
> mmotm-readme.txt says
>
> README for mm-of-the-moment:
>
> https://www.ozlabs.org/~akpm/mmotm/
>
> This is a snapshot of my -mm patch queue. Uploaded at random hopefully
> more than once a week.
>

on i386 and x86_64:

when CONFIG_SWAP is not set/enabled:

../mm/migrate.c: In function ‘migrate_page_move_mapping’:
../mm/migrate.c:504:35: error: ‘NR_SWAPCACHE’ undeclared (first use in this function); did you mean ‘QC_SPACE’?
__mod_lruvec_state(old_lruvec, NR_SWAPCACHE, -nr);
^~~~~~~~~~~~

../mm/memcontrol.c:1529:20: error: ‘NR_SWAPCACHE’ undeclared here (not in a function); did you mean ‘SGP_CACHE’?
{ "swapcached", NR_SWAPCACHE },
^~~~~~~~~~~~



Reported-by: Randy Dunlap <rdunlap@infradead.org>

--
~Randy

\
 
 \ /
  Last update: 2021-01-12 23:11    [W:0.120 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site