Revert "block/partitions: optimize memory allocation in check_partition()"

This reverts commit 2a9763e0965f243cfeb173c07b23a6f6e919b3c4.
Revert "sched: add wait_for_completion_io[_timeout]"

This reverts commit e408612b0bb05af94523e774e3343d680619bfff.
Revert "mm: fix calculation of dirtyable memory"

This reverts commit 85af4a70cf9f6a4430c3a7bf77dafa022c1065b4.
Revert "writeback: remove nr_pages_dirtied arg from balance_dirty_pages_ratelimited_nr()"

This reverts commit d97abdab8a2c613cd992c2495561cb214de9d555.
Revert "CPU hotplug, writeback: Don't call writeback_set_ratelimit() too often during hotplug"

This reverts commit 6ddf17ff6f0cafc9781596716cfa7ba1c28cc3e5.
Revert "writeback: fix writeback cache thrashing"

This reverts commit 50e25206d2c5a0b4750c7a8b22e65a0380ee0ed3.
Revert "cpufreq: Manage only online cpus"

This reverts commit 20e74c6bec5758a348290b55ea702375734bfe9b.
Revert "lib/int_sqrt.c: optimize square root algorithm"

This reverts commit 496802288627872bbeb682557d66279caa7d413e.