Re: [RFC V2] mm/vmstat: Add events for HugeTLB migration
From: Oscar Salvador
Date: Wed Sep 30 2020 - 06:33:42 EST
On Wed, Sep 30, 2020 at 03:32:10PM +0530, Anshuman Khandual wrote:
> Right, it would be simple. But as Mike had mentioned before PageHuge()
> check is more expensive than PageTransHuge(). This proposal just tries
> not to call PageHuge() unless the page first clears PageTransHuge(),
> saving some potential CPU cycles on normal pages.
Ah, I remember now.
I missed that, sorry.
--
Oscar Salvador
SUSE L3