Commit [70096a] Maximize Restore History

SLOB: fix bogus ksize calculation fix

This fixes the previous fix, which was completely wrong on closer
inspection. This version has been manually tested with a user-space
test harness and generates sane values. A nearly identical patch has
been boot-tested.

The problem arose from changing how kmalloc/kfree handled alignment
padding without updating ksize to match. This brings it in sync.

Signed-off-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Matt Mackall Matt Mackall 2008-10-08

Linus Torvalds Linus Torvalds 2008-10-09

changed mm/slob.c
mm/slob.c Diff Switch to side-by-side view
Loading...