linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [QUESTION] balloon page isolation needs LRU lock?
@ 2013-12-06  8:53 Joonsoo Kim
  2013-12-06 12:21 ` Rafael Aquini
  0 siblings, 1 reply; 3+ messages in thread
From: Joonsoo Kim @ 2013-12-06  8:53 UTC (permalink / raw)
  To: Rafael Aquini; +Cc: Mel Gorman, Andrew Morton, linux-mm, linux-kernel

Hello, Rafael.

I looked at some compaction code and found that some oddity about
balloon compaction. In isolate_migratepages_range(), if we meet
!PageLRU(), we check whether this page is for balloon compaction.
In this case, code needs locked. Is the lock really needed? I can't find
any relationship between balloon compaction and LRU lock.

Second question is that in above case if we don't hold a lock, we
skip this page. I guess that if we meet balloon page repeatedly, there
is no change to run isolation. Am I missing?

Please let me know what I am missing.

Thanks in advance.

--
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] 3+ messages in thread

end of thread, other threads:[~2013-12-09  8:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-06  8:53 [QUESTION] balloon page isolation needs LRU lock? Joonsoo Kim
2013-12-06 12:21 ` Rafael Aquini
2013-12-09  8:47   ` Joonsoo Kim

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).