hecatonchire/linux-heca — pull request #19 by roeitell (2013-05-26 16:56:14+00:00)
Title: intermediate commit: two bug fixes and a hack

Merge intermediate commit.

Fixes:
1. Re-enable native push, fixing cc416e14b3758b58a1728bc7ff21ae1e4d5639bd
2. Fix push page unlock (should happen once, inside heca code).

Hack:
1. Avoid setting and clearing PageWriteback on push path, since it causes kernel to deadlock waiting for it on the new code in shrink_page_list for cgroups (introduced in 3.9).
2. This is a hack - I don't know what the original problem which causes the deadlock is.
3. Right now, after commenting out the PageWriteback code, we either OOM, or (if oom is disabled) deadlock.