Kconfig (4ff93b292c0b91b9a7c9fb54643f122bbe59d8d0) Kconfig (b46402fa894f88ddb42a2e841618a8f42f57d16d)
1# SPDX-License-Identifier: GPL-2.0-only
2
3menu "Memory Management options"
4
5#
6# For some reason microblaze and nios2 hard code SWAP=n. Hopefully we can
7# add proper SWAP support to them, in which case this can be remove.
8#

--- 179 unchanged lines hidden (view full) ---

188 help
189 This option enables code in the zsmalloc to collect various
190 statistics about what's happening in zsmalloc and exports that
191 information to userspace via debugfs.
192 If unsure, say N.
193
194config ZSMALLOC_CHAIN_SIZE
195 int "Maximum number of physical pages per-zspage"
1# SPDX-License-Identifier: GPL-2.0-only
2
3menu "Memory Management options"
4
5#
6# For some reason microblaze and nios2 hard code SWAP=n. Hopefully we can
7# add proper SWAP support to them, in which case this can be remove.
8#

--- 179 unchanged lines hidden (view full) ---

188 help
189 This option enables code in the zsmalloc to collect various
190 statistics about what's happening in zsmalloc and exports that
191 information to userspace via debugfs.
192 If unsure, say N.
193
194config ZSMALLOC_CHAIN_SIZE
195 int "Maximum number of physical pages per-zspage"
196 default 4
196 default 8
197 range 4 16
198 depends on ZSMALLOC
199 help
200 This option sets the upper limit on the number of physical pages
201 that a zmalloc page (zspage) can consist of. The optimal zspage
202 chain size is calculated for each size class during the
203 initialization of the pool.
204

--- 1003 unchanged lines hidden ---
197 range 4 16
198 depends on ZSMALLOC
199 help
200 This option sets the upper limit on the number of physical pages
201 that a zmalloc page (zspage) can consist of. The optimal zspage
202 chain size is calculated for each size class during the
203 initialization of the pool.
204

--- 1003 unchanged lines hidden ---