Kernel with zswap support
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
**Is your feature request related to a problem? Please describe.**
_[Zswap](https://www.kernel.org/doc/html/v5.15/vm/zswap.html)_ support is currently not availble.
```
$ cat /sys/module/zswap/parameters/enabled
cat: /sys/module/zswap/parameters/enabled: No such file or directory
```
**Describe the solution you'd like**
I'd like to use _[zswap]()_ in _WSL2_ to use memory more efficiently or run more apps / services when e.g. the host machine itself owns only little memory.
**Additional context**
_WSL2_ with Ubuntu is currently in use.
```
> wsl --version
WSL version: 1.2.5.0
Kernel version: 5.15.90.1
WSLg version: 1.0.51
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.1702
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin with the WSL2 kernel configuration and the linked Linux zswap documentation. Reproduce the missing /sys/module/zswap/parameters/enabled path in the reported Ubuntu-on-WSL2 environment, then determine the project’s kernel build and validation process. Done means zswap support is available and its enabled parameter can be used in WSL2.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100