Thread (28 messages) 28 messages, 7 authors, 2006-01-17

Re: Race in new page migration code?

From: Christoph Lameter <hidden>
Date: 2006-01-16 15:48:10
Also in: lkml

On Mon, 16 Jan 2006, Hugh Dickins wrote:
Indeed they are, at present and quite likely into posterity.  But
they're not a common case here, and migrate_page_add now handles them
silently, so why bother to complicate it with an unnecessary check?
check_range also is used for statistics and for checking if a range is 
policy compliant. Without that check zeropages may be counted or flagged 
as not on the right node with MPOL_MF_STRICT.

For migrate_page_add this has now simply become an optimization since
there is no WARN_ON occurring anymore.
Or have you found the zero page mapcount distorting get_stats stats?
If that's an issue, then better add a commented test for it there.
It also applies to the policy compliance check.
Hmm, that battery of unusual tests at the start of migrate_page_add
is odd: the tests don't quite match the comment, and it isn't clear
what reasoning lies behind the comment anywa
Hmm.... Maybe better clean up the thing a bit. Will do that when I get 
back to work next week.

--
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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help