Instead of using a fixed-length string for the zswap params, use charp.
This simplifies the code and uses less memory, as most zswap param
strings will be less than the current maximum length.
Signed-off-by: Dan Streetman
---
mm/zswap.c | 80
Instead of using a fixed-length string for the zswap params, use charp.
This simplifies the code and uses less memory, as most zswap param
strings will be less than the current maximum length.
Signed-off-by: Dan Streetman ddstr...@ieee.org
---
mm/zswap.c | 80
2 matches
Mail list logo