Skip to content

Commit

Permalink
Added a new "Features" page both to the documentation and manpage.
Browse files Browse the repository at this point in the history
  • Loading branch information
xvitaly committed Oct 5, 2024
1 parent 57594f9 commit 733486b
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
18 changes: 18 additions & 0 deletions assets/manpage/zswap-cli.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,24 @@

@APP_NAME@ is a command-line tool to control the ZSwap kernel module.

# FEATURES

Supported options:

| Name | Value | Status | Kernel version |
| ------- | ------- | ------- | ------- |
| enabled | **Y** (enable) or **N** (disable) | Active | Any |
| same_filled_pages_enabled | **Y** (enable) or **N** (disable) | Deprecated | 4.16.0 to 6.10.0 |
| max_pool_percent | integer from **1** to **100** | Active | Any |
| compressor | from supported by kernel | Active | Any |
| zpool | from supported by kernel | Active | Any |
| accept_threshold_percent | integer from **1** to **100** | Active | 5.6.0 or higher |
| non_same_filled_pages_enabled | **Y** (enable) or **N** (disable) | Deprecated | 5.18.0 to 6.10.0 |
| exclusive_loads | **Y** (enable) or **N** (disable) | Deprecated | 6.5.0 to 6.9.0 |
| shrinker_enabled | **Y** (enable) or **N** (disable) | Active | 6.8.0 or higher |

Deprecated functionality will be removed in future project versions.

# COMMAND-LINE OPTIONS

#### \-\-help
Expand Down
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Table of contents

* [Features](features.md).
* [Installation](installation.md).
* [Using application](using-application.md).
* [Configuration files](configuration-files.md).
Expand Down
17 changes: 17 additions & 0 deletions docs/features.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Features

Supported options:

| Name | Value | Status | Kernel version |
| ------- | ------- | ------- | ------- |
| enabled | **Y** (enable) or **N** (disable) | Active | Any |
| same_filled_pages_enabled | **Y** (enable) or **N** (disable) | Deprecated | 4.16.0 to 6.10.0 |
| max_pool_percent | integer from **1** to **100** | Active | Any |
| compressor | from supported by kernel | Active | Any |
| zpool | from supported by kernel | Active | Any |
| accept_threshold_percent | integer from **1** to **100** | Active | 5.6.0 or higher |
| non_same_filled_pages_enabled | **Y** (enable) or **N** (disable) | Deprecated | 5.18.0 to 6.10.0 |
| exclusive_loads | **Y** (enable) or **N** (disable) | Deprecated | 6.5.0 to 6.9.0 |
| shrinker_enabled | **Y** (enable) or **N** (disable) | Active | 6.8.0 or higher |

Deprecated functionality will be removed in future project versions.

0 comments on commit 733486b

Please sign in to comment.