qdsp6v3: Rename speaker_mono_rx to speaker_rx so it can initialize

credit: IAmTheOneTheyCallNeo
tmpfs: enable NOSEC optimization
lib/int_sqrt.c: optimize square root algorithm
Revert "lowmemorykiller: Voku and Dorimanx tweaks for LMK"

This reverts commit 7d92b5296b8d1078e875d3c5c27b381e75c5f8db.
msm_rq_stats: backport from CAF msm-3.4 kernel

credit mrg666
msm_mpdecision: use mrg666's variant
workqueue: cond_resched() after processing each work item
commit b22ce27 upstream.

If !PREEMPT, a kworker running work items back to back can hog CPU.
This becomes dangerous when a self-requeueing work item which is
waiting for something to happen races against stop_machine.  Such
self-requeueing work item would requeue itself indefinitely hogging
the kworker and CPU it's running on while stop_machine would wait for
that CPU to enter stop_machine while preventing anything else from
happening on all other CPUs.  The two would deadlock.

Jamie Liu reports that this deadlock scenario exists around
scsi_requeue_run_queue() and libata port multiplier support, where one
port may exclude command processing from other ports.  With the right
timing, scsi_requeue_run_queue() can end up requeueing itself trying
to execute an IO which is asked to be retried while another device has
an exclusive access, which in turn can't make forward progress due to
stop_machine.

Fix it by invoking cond_resched() after executing each work item.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Jamie Liu <jamieliu@google.com>
References: http://thread.gmane.org/gmane.linux.kernel/1552567
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

10x mrg666
Merge branch 'cm-10.2' of github.com:johnnyslt/android_kernel_htc_msm8660 into cm-10.2