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
Enable ROW; Disable & build fix VR