[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Ym9pLhqtf61AVrZG@casper.infradead.org>
Date: Mon, 2 May 2022 06:16:30 +0100
From: Matthew Wilcox <willy@...radead.org>
To: NeilBrown <neilb@...e.de>
Cc: Miaohe Lin <linmiaohe@...wei.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Christoph Hellwig <hch@....de>, linux-nfs@...r.kernel.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [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?
Powered by blists - more mailing lists