[PATCH 0/8] mm/slub: Add SLUB_RANDOMIZE support

From: George Spelvin
Date: Tue Mar 15 2011 - 22:29:06 EST


As a followup to the "[PATCH] Make /proc/slabinfo 0400" thread, this
is a patch series to randomize the order of object allocations within
a page. It can be extended to SLAB and SLOB if desired. Mostly it's
for benchmarking and discussion.

It Boots For Me(tm).

Patches 1-4 and 8 touch drivers/char/random.c, to add support for
efficiently generating a series of uniform random integers in small
ranges. Is this okay with Herbert & Matt?

I did a bit of code cleanup while I was at it, but kept it to separate
patches. Patches 4 and 7 are the heart of the new code, but I'd
particularly like comments on patch 8, as I don't understand the kconfig
stuff very well. Is the feature description good and are the control
knobs adequate?

Checkpatch complains about a too-short CONFIG option description on
8/8; I think it's spurious.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/