Re: Discard support (was Re: [PATCH] swap: send callback when swapslot is freed)

From: Alan Cox
Date: Sun Aug 16 2009 - 15:29:14 EST


> trim is mostly for ssd's though, and those tend to not have the "goes
> for a hike" behavior as much......

Bench one.

> I wonder if it's worse to batch stuff up, because then the trim itself
> gets bigger and might take longer.....

They seem to implement a sort of async single threaded trim, which can
only have one outstanding trim at a time.

--
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/