[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#789094: enable CONFIG_ZBUD again like in 3.16



On Sun, 2015-06-21 at 03:30 +0100, Ben Hutchings wrote:
> Control: reassign -1 src:linux 4.0.2-1
> 
> On Wed, 2015-06-17 at 21:53 +0200, Kai Lüke wrote:
> > Package: linux-image-4.0.0-1-amd64
> > Version: 4.0.2-1
> > 
> > Hello,
> > 
> > when switching from 3.16 to 4.0 with kernel command line zswap.enabled=1
> > the following messages are printed and zswap is not working.
> > 
> > [    0.898384] zpool: loaded
> > [    0.930753] zswap: loading zswap
> > [    0.930755] zpool: creating pool type zbud
> > [    0.932435] zpool: no driver for type zbud
> > [    0.932508] zswap: zbud zpool not available
> > [    0.932567] zswap: zpool creation failed
> > 
> > zbud is the default memory allocation backend used in zswap. In 3.16
> > CONFIG_ZBUD was enabled but in 4.0 it is not. I could not find a note on
> > this in the changelog and am so asking whether it can be enabled again.
> 
> This was not intentional.  CONFIG_ZBUD used to be automatically enabled
> along with CONFIG_ZSMALLOC, but now we need to explicitly enable it.

Sorry, I mean it used to be enabled along with CONFIG_ZSWAP.
zswap now supports using either zsmalloc and zbud; you can use the
module parameter zpool to select which to use.  (Though, if only
zsmalloc is built, it *ought* to get selected by default.)

Anyway, I'll fix this.

Ben.

-- 
Ben Hutchings
You can't have everything.  Where would you put it?

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: