Revert "Android alarm: IOCTL command encoding fix"

commit 87dd2c484ae11e2e0a34996d96bfbfaf20f57b45 upstream.

Commit 8d60d6aaf085d1728a4fda1f59b47622fe2ab495. changed the
ANDROID_ALARM_GET_TIME ioctls from IOW to IOR.  While technically
correct, the _IOC_DIR bits are ignored by alarm_ioctl, so the
commit breaks a userspace ABI used by all existing Android devices
for a purely cosmetic reason.  Revert it.

Change-Id: Iee360bb07891e317c4172ef544fc77d99488e5e9
Signed-off-by: Andrii Beregovenko <a.beregovenko@ti.com>
lowmemorykiller: make default lowmemorykiller debug message useful

lowmemorykiller debug messages are inscrutable and mostly useful
for debugging the lowmemorykiller, not explaining why a process
was killed.  Make the messages more useful by prefixing them
with "lowmemorykiller: " and explaining in more readable terms
what was killed, who it was killed for, and why it was killed.

The messages now look like:
[   76.997631] lowmemorykiller: Killing 'droid.gallery3d' (2172), adj 1000,
[   76.997635]    to free 27436kB on behalf of 'kswapd0' (29) because
[   76.997638]    cache 122624kB is below limit 122880kB for oom_score_adj 1000
[   76.997641]    Free memory is -53356kB above reserved

A negative number for free memory above reserved means some of the
reserved memory has been used and is being regenerated by kswapd,
which is likely what called the shrinkers.

Change-Id: I4e79b7ff989ad8de0a5c72ed98da37710b9c31a1
Merge remote-tracking branch 'upstream/cm-10.1' into HEAD