mpdecision: modify idle_freq decision points to improve efficiency

In the idle case, the new_state assignment would happen twice. This moves both
assignments inside the decision so the assignment only happens once.
block: Adding ROW scheduling algorithm

Signed-off-by: Tatyana Brokhman <tlinder@xxxxxxxxxxxxxx>

Conflicts:
	block/Makefile

Conflicts:

	block/Makefile
row-iosched.c: Fix build errors
Error log :
block/row-iosched.c: In function ‘row_add_request’:
block/row-iosched.c:252:29: error: ‘struct request’ has no member named ‘elv’
block/row-iosched.c: In function ‘row_merged_requests’:
block/row-iosched.c:512:31: error: ‘struct request’ has no member named ‘elv’
block/row-iosched.c: In function ‘row_set_request’:
block/row-iosched.c:556:4: error: ‘struct request’ has no member named ‘elv’
[patch] iosched: prevent aliased requests from starving other I/O

http://lkml.indiana.edu/hypermail/linux/kernel/1106.0/00548.html

Hi, Jens,

If you recall, I posted an RFC patch for this back in July of last year:
http://lkml.org/lkml/2010/7/13/279

The basic problem is that a process can issue a never-ending stream of
async direct I/Os to the same sector on a device, thus starving out
other I/O in the system (due to the way the alias handling works in both
cfq and deadline). The solution I proposed back then was to start
dispatching from the fifo after a certain number of aliases had been
dispatched. Vivek asked why we had to treat aliases differently at all,
and I never had a good answer. So, I put together a simple patch which
allows aliases to be added to the rb tree (it adds them to the right,
though that doesn't matter as the order isn't guaranteed anyway). I
think this is the preferred solution, as it doesn't break up time slices
in CFQ or batches in deadline. I've tested it, and it does solve the
starvation issue. Let me know what you think.

Cheers,
Jeff
cmdline_maxscroff: add initial cmdline parsing
cmdline_maxscroff: modify acpuclock to set our max scr off rate
cmdline_maxscroff: add earlysuspend/lateresume to cpufreq to determine if screen is on/off
cmdline_maxscroff: add debug messages
cmdline_maxscroff: cleanup earlysuspend/lateresume and ...
modify log messages to show the REAL current frequency, not the one that is about to be set.
cmdline_maxscroff: add sysfs interface
Build fix VR
lib/memcopy: use glibc version

the kernel's memcpy and memmove is very inefficient. But the glibc version is
quite fast, in some cases it is 10 times faster than the kernel version. So I
introduce some memory copy macros and functions of the glibc to improve the
kernel version's performance.

The strategy of the memory functions is:
1. Copy bytes until the destination pointer is aligned.
2. Copy words in unrolled loops.  If the source and destination are not
   aligned in the same way, use word memory operations, but shift and merge
   two read words before writing.
3. Copy the few remaining bytes.

Signed-off-by: Miao Xie <miaox*******>
lib/string: use glibc version

the performance of memcpy and memmove of the general version is very
inefficient, this patch improved them.

Signed-off-by: Miao Xie <miaox*******>
Added frontswap_by_Dan
Added optimized CRC32 algorithm.
Update IOMMU from Code Aurora.

ics_chocolate
msm: subsystem: update parameters for msm_iommu_map_extra
msm: add missing msm_hdmi_audio.h header file
Updated config