lkml.org 
[lkml]   [2022]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] MM: handle THP in swap_*page_fs() - count_vm_events()
On Mon, May 02, 2022 at 02:57:46PM +1000, NeilBrown wrote:
> @@ -390,9 +392,9 @@ static void sio_read_complete(struct kiocb *iocb, long ret)
> struct page *page = sio->bvec[p].bv_page;
>
> SetPageUptodate(page);
> + count_swpout_vm_event(page);
> unlock_page(page);
> }
> - count_vm_events(PSWPIN, sio->pages);

Surely that should be count_swpIN_vm_event?

\
 
 \ /
  Last update: 2022-05-02 07:18    [W:0.080 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site