Thread (127 messages) 127 messages, 9 authors, 2012-10-08

Re: [PATCH v3 06/13] memcg: kmem controller infrastructure

From: JoonSoo Kim <hidden>
Date: 2012-09-21 09:14:19
Also in: linux-mm, lkml

quoted
"*_memcg = memcg" should be executed when "memcg_charge_kmem" is success.
"memcg_charge_kmem" return 0 if success in charging.
Therefore, I think this code is wrong.
If I am right, it is a serious bug that affect behavior of all the patchset.
Which is precisely what it does. ret is a boolean, that will be true
when charge succeeded (== 0 test)
Ahh...Okay! I didn't see (== 0 test)

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