Revert "defconfig: enable UKSM"

This reverts commit 3c5b470f4e60830f2c4d36282dae3f27de22a348.

Signed-off-by: Dan Trifan <jimsth@gmail.com>
Revert "UKSM: Upgrade to 0.1.2.2"

This reverts commit afe4c01eb07edd4aa863c3dedbc95acf292530bb.

Signed-off-by: Dan Trifan <jimsth@gmail.com>
Revert "Add UKSM 0.1.2"

This reverts commit 8e782be06aa96899227367e658a986448cec15f0.

Signed-off-by: Dan Trifan <jimsth@gmail.com>
ksm: check and skip page, if it is already scanned

On system like Android where most of the process are forked
from parent w/o execve, KSM can scan same page multiple times
in one scan cycle. There is no advantage in scanning same page
multiple times for merging. During testing with Android, it was
observed around 60% pages are skipped for each scan cycle.

Change-Id: I0cf01802f0b4d61fcab92558beb9e1c660dc9a77
Link: http://lkml.kernel.org/r/CAMrOTPgBtANS_ryRjan0-dTL97U7eRvtf3dCsss=Kn+Uk89fuA@mail.gmail.com
Signed-off-by: Pradeep Sawlani <sawlani@amazon.com>

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
mm: ksm: use recomanded values

* from here: http://source.android.com/devices/low-ram.html#ksm

Signed-off-by: Dan Trifan <jimsth@gmail.com>
defconfig: enable KSM_CHECK_PAGE

Signed-off-by: Dan Trifan <jimsth@gmail.com>
bcmdhd: workaround broken AC video queue in IBSS mode

Re-apply this patch as it got lost with commit
6f16c5ddacd66f9122c6b74ce2979229ebb6be64 "tuna: Revert WiFi sleep power mode".
It still is necessary as can easily be tested with 'ping -Q 0xa IP'.

The BCM4330 has problems with the WME video (AC_VI) queue in IBSS mode. If we
put packets into this AC, the symptoms are excessive RTS/CTS, most packets get
lost and the device get's stuck and no more packets can be sent, even on other
queues.

Since the AC queue selection happens in the firmware based on the DSCP priority
and we don't know a way to configure this in the driver the workaround is to
simply downgrade all packets which would go into AC_VI (priority 4 and 5, TOS
0x80 and 0xa0) to AC_BE (priority 3 "Excellent Effort"). It's not pretty but
makes the device usable.

Change-Id: I833fb2f07dc5c46b823b70e93b9b05cc20a7b997
Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
defconfig: revert to tuna default vmsplit

Signed-off-by: Dan Trifan <jimsth@gmail.com>
defconfig: version 1.1.0

Signed-off-by: Dan Trifan <jimsth@gmail.com>