Thread (56 messages) 56 messages, 4 authors, 2021-01-09

Re: [External] Re: [PATCH v2 1/6] mm: migrate: do not migrate HugeTLB page whose refcount is one

From: Muchun Song <hidden>
Date: 2021-01-07 02:53:42
Also in: lkml

On Thu, Jan 7, 2021 at 12:13 AM Michal Hocko [off-list ref] wrote:
On Wed 06-01-21 16:47:34, Muchun Song wrote:
quoted
If the refcount is one when it is migrated, it means that the page
was freed from under us. So we are done and do not need to migrate.
Is this common enough that it would warrant the explicit check for each
migration?
Are you worried about the overhead caused by the check? Thanks.
--
Michal Hocko
SUSE Labs
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help