linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* migrate_pages() failure
@ 2007-10-26 20:57 Badari Pulavarty
  2007-10-26 23:07 ` Badari Pulavarty
  0 siblings, 1 reply; 4+ messages in thread
From: Badari Pulavarty @ 2007-10-26 20:57 UTC (permalink / raw)
  To: KAMEZAWA Hiroyuki, melgor; +Cc: linux-mm

Hi,

While playing with hotplug memory remove on x86-64 and ppc64, I noticed
that some of the memory sections can not be offlined. What I noticed is
migrate_pages() fails to move the pages. I added debug and page_owner
to track these pages. I am wondering why they couldn't be migrated ?
Ideas ?

BTW, I did echo 3 > /proc/sys/vm/drop_caches to drop all the
caches before trying to offline (on this cleanly rebooted machine).

nr_failed 0 retry 116
migrate pages failed 3f025/3/3f00000000800
migrate pages failed 3f048/3/3f00000000800
migrate pages failed 3f04c/3/3f00000000800
migrate pages failed 3f06e/3/3f00000000800
migrate pages failed 3f092/3/3f00000000800
migrate pages failed 3f093/3/3f00000000800
migrate pages failed 3f097/3/3f00000000800
migrate pages failed 3f0b2/3/3f00000000800
migrate pages failed 3f0b7/3/3f00000000800
migrate pages failed 3f0b8/3/3f00000000800
migrate pages failed 3f100/3/3f00000000800
migrate pages failed 3f196/3/3f00000000800
migrate pages failed 3f19d/3/3f00000000800
migrate pages failed 3f1b7/3/3f00000000800
migrate pages failed 3f1ba/3/3f00000000800
migrate pages failed 3f1c8/3/3f00000000800


Page owner shows:

Page allocated via order 0, mask 0x120050
PFN 258085 Block 63 type 2          Flags      L
[0xc0000000000bae88] .alloc_pages_current+180
[0xc0000000000f995c] .__find_get_block_slow+88
[0xc000000000093534] .__page_cache_alloc+24
[0xc0000000000f9ed0] .__find_get_block+272
[0xc000000000094598] .find_or_create_page+76
[0xc0000000000fb288] .unlock_buffer+48
[0xc0000000000fa178] .__getblk+312
[0xc0000000000fbb84] .ll_rw_block+348

Page allocated via order 0, mask 0x120050
PFN 258120 Block 63 type 2          Flags      L
[0xc0000000000bae88] .alloc_pages_current+180
[0xc0000000000f995c] .__find_get_block_slow+88
[0xc0000000004ce49c] .__wait_on_bit+232
[0xc000000000093534] .__page_cache_alloc+24
[0xc0000000000f9ed0] .__find_get_block+272
[0xc000000000094598] .find_or_create_page+76
[0xc0000000000fa014] .__find_get_block+596
[0xc0000000000fb288] .unlock_buffer+48

Page allocated via order 0, mask 0x120050
PFN 258124 Block 63 type 2          Flags      L
[0xc0000000000bae88] .alloc_pages_current+180
[0xc0000000000f995c] .__find_get_block_slow+88
[0xc0000000004ce49c] .__wait_on_bit+232
[0xc000000000093534] .__page_cache_alloc+24
[0xc0000000000f9ed0] .__find_get_block+272
[0xc000000000094598] .find_or_create_page+76
[0xc0000000000fb288] .unlock_buffer+48
[0xc0000000000fa178] .__getblk+312


Page allocated via order 0, mask 0x120050
PFN 258158 Block 63 type 2          Flags      L
[0xc0000000000bae88] .alloc_pages_current+180
[0xc0000000000f995c] .__find_get_block_slow+88
[0xc0000000004ce49c] .__wait_on_bit+232
[0xc000000000093534] .__page_cache_alloc+24
[0xc0000000000f9ed0] .__find_get_block+272
[0xc000000000094598] .find_or_create_page+76
[0xc0000000000fa014] .__find_get_block+596
[0xc0000000000fb288] .unlock_buffer+48



Thanks,
Badari

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-10-29 20:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-26 20:57 migrate_pages() failure Badari Pulavarty
2007-10-26 23:07 ` Badari Pulavarty
2007-10-26 23:51   ` KAMEZAWA Hiroyuki
2007-10-29 20:44     ` Christoph Lameter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).