Messages in this thread | | | Date | Thu, 15 Aug 2013 08:18:46 +0800 | Subject | Re: [PATCH v6 0/5] zram/zsmalloc promotion | From | Bob Liu <> |
| |
On Thu, Aug 15, 2013 at 12:17 AM, Minchan Kim <minchan@kernel.org> wrote: > Hi Luigi, > > On Wed, Aug 14, 2013 at 08:53:31AM -0700, Luigi Semenzato wrote: >> During earlier discussions of zswap there was a plan to make it work >> with zsmalloc as an option instead of zbud. Does zbud work for > > AFAIR, it was not an optoin but zsmalloc was must but there were > several objections because zswap's notable feature is to dump > compressed object to real swap storage. For that, zswap needs to > store bounded objects in a zpage so that dumping could be bounded, too. > Otherwise, it could encounter OOM easily. >
AFAIR, the next step of zswap should be have a modular allocation layer so that users can choose zsmalloc or zbud to use.
Seth?
-- Regards, --Bob
| |