mutex: Move mutex spinning code from sched/core.c back to mutex.c

Signed-off-by: Waiman Long<Waiman.Long@hp.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
mutex: Make more scalable by doing less atomic operations

Signed-off-by: Waiman Long <Waiman.Long@hp.com>
Reviewed-by: Davidlohr Bueso <davidlohr.bueso@hp.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
mutex: Queue mutex spinners with MCS lock to reduce cacheline contention

Signed-off-by: Waiman Long <Waiman.Long@hp.com>
Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
mutex: back out architecture specific check for negative mutex count

Signed-off-by: Waiman Long <Waiman.Long@hp.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
Revert "power: decrease the amount of time the device waits after entering low power mode to freeze processes. Testing phase at the moment."

I think this is the cause for some excessive suspend backoff wakelocks, so bye.

This reverts commit a8ff9b542ef66541f3f2371dc589e38a2bb484a5.
Revert "input: lge: prevent the accuracy filter to filter the first touch event after screen on to prevent some weird wrong coordinates that could cause the notification bar to come down after screening on."

This reverts commit b184b2fcdbe5f56e67404ba5126e5654792c9901.
Revert "input: lge: clean up some code, change accuracy filter values and add some obvious optimization paths."

This reverts commit 58db602cb93ae8ed2c9a3873c74e8115271ecb18.
input: lge: re-work the patches I just reverted to fix a bug that was causing some leaks and some IRQ exceptions during screen on.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
Merge remote-tracking branch 'upstream/nightlies' into nightlies

Conflicts:
	kernel/mutex.c
	kernel/sched/core.c

Signed-off-by: kecinzer <kecinzer@gmail.com>