linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* migration failure in 3.10 kernel
@ 2016-07-19 22:53 Zhan Chen
  0 siblings, 0 replies; only message in thread
From: Zhan Chen @ 2016-07-19 22:53 UTC (permalink / raw)
  To: n-horiguchi; +Cc: linux-mm

[-- Attachment #1: Type: text/plain, Size: 404 bytes --]

Hi Naoya,

I encounter the issue that page migration fails due to page ref count != 1
thus return -EAGAIN in migrate_page_move_mapping().
And it turns out that in page fault handling, __migration_entry_wait()
calls get_page_unless_zero() to get an extra ref count before
wait_on_page_locked().

Is there a fix that can safely wait for migration to complete without
taking the ref on page?
Thanks.

-Zhan

[-- Attachment #2: Type: text/html, Size: 521 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-07-19 22:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-19 22:53 migration failure in 3.10 kernel Zhan Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox