mm/slub: Add SLUB_RANDOMIZE support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 30 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | drivers/random: Cache align ip_random betterdrivers/ | +1 | 10 replies | |
| 2/8 | drivers/char/random: Split out __get_random_intdrivers/ | +17 | 6 replies | |
| 3/8 | drivers/char/random: make get_random_int_hash a structuredrivers/ | +7 | 0 replies | |
| 4/8 | drivers/char/random: Add get_random_mod() functionsdrivers/ include/ | +77 | 1 reply | |
| 5/8 | mm/slub: Factor out some common code.mm/ | +43 | 9 replies | |
| 6/8 | mm/slub: Remove unnecessary parametermm/ | +6 | 1 reply | |
| 7/8 | mm/slub.c: Add slab randomization.include/ mm/ | +59 | 0 replies | |
| 8/8 | mm/slub.c: Enable Kconfig control.drivers/ drivers/ include/ +3 more | +72 | 0 replies |
Reviews trailers per patch
3 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Matt Mackall | Pekka Enberg | David Rientjes |
|---|---|---|---|
| 1/8 | A-b | A-b | |
| 2/8 | |||
| 3/8 | |||
| 4/8 | |||
| 5/8 | A-b | ||
| 6/8 | A-b | ||
| 7/8 | |||
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/8] mm/slub: Add SLUB_RANDOMIZE support
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.