MSM_Turbo
random: add debugging code to detect early use of get_random_bytes() …

random: initialize the last_time field in struct timer_rand_state …

random: don't zap entropy count in rand_initialize() …

random: printk notifications for urandom pool initialization …

random: make add_timer_randomness() fill the nonblocking pool first …

random: convert DEBUG_ENT to tracepoints …

random: push extra entropy to the output pools …

random: drop trickle mode …

random: adjust the generator polynomials in the mixing function slightly …

random: speed up the fast_mix function by a factor of four …

random: cap the rate which the /dev/urandom pool gets reseeded …

random: optimize the entropy_store structure …

random: optimize spinlock use in add_device_randomness() …

random: fix the tracepoint for get_random_bytes(_arch) …

random: account for entropy loss due to overwrites …

random: allow fractional bits to be tracked …

random: statically compute poolbitshift, poolbytes, poolbits …

random: mix in architectural randomness earlier in extract_buf() …

random: allow architectures to optionally define random_get_entropy() …

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@vger.kernel.org
 page_alloc: Make watermarks tunable separately

This patch introduces three new sysctls to /proc/sys/vm:
wmark_min_kbytes, wmark_low_kbytes and wmark_high_kbytes.

Each entry is used to compute watermark[min], watermark[low]
and watermark[high] for each zone.

These parameters are also updated when min_free_kbytes are
changed because originally they are set based on min_free_kbytes.
On the other hand, min_free_kbytes is updated when wmark_free_kbytes
changes.

By using the parameters one can adjust the difference among
watermark[min], watermark[low] and watermark[high] and as a result
one can tune the kernel reclaim behaviour to fit their requirement.

Signed-off-by: Satoru Moriya <satoru.moriya@hds.com>

modified and tuned for Hammerhead

Signed-off-by: Paul Reioux <reioux@gmail.com>