Home
last modified time | relevance | path

Searched refs:zspage (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/mm/
H A Dzsmalloc.c244 struct zspage { struct
268 static void SetZsHugePage(struct zspage *zspage) in SetZsHugePage() argument
270 zspage->huge = 1; in SetZsHugePage()
273 static bool ZsHugePage(struct zspage *zspage) in ZsHugePage() argument
275 return zspage->huge; in ZsHugePage()
278 static void migrate_lock_init(struct zspage *zspage);
279 static void migrate_read_lock(struct zspage *zspage);
280 static void migrate_read_unlock(struct zspage *zspage);
283 static void migrate_write_lock(struct zspage *zspage);
284 static void migrate_write_lock_nested(struct zspage *zspage);
[all …]
H A DKconfig223 int "Maximum number of physical pages per-zspage"
229 that a zmalloc page (zspage) can consist of. The optimal zspage
234 such as the number of pages per zspage and the number of objects
235 per zspage. This can also result in different configurations of
/openbmc/linux/Documentation/translations/zh_CN/mm/
H A Dzsmalloc.rst20 页面的边界。代码将这些链接的页面作为一个实体,称为zspage
54 zspage存储对象大小
56 ZS_ALMOST_EMPTY zspage的数量(见下文)。
58 ZS_ALMOST_FULL zspage的数量(见下图)
66 组成一个zspage的0-order页面的数量
68 当n <= N / f时,我们将一个zspage分配给ZS_ALMOST_EMPTYfullness组,其中
71 * N = zspage可以存储的对象总数
74 同样地,我们将zspage分配给:
/openbmc/linux/Documentation/mm/
H A Dzsmalloc.rst17 called zspage.
55 object size zspage stores
85 the number of 0-order pages to make a zspage
89 Each zspage maintains inuse counter which keeps track of the number of
90 objects stored in the zspage. The inuse counter determines the zspage's
92 the total number of objects the zspage can hold (objs_per_zspage). The
99 Each zspage can contain up to ZSMALLOC_CHAIN_SIZE physical (0-order) pages.
100 The optimal zspage chain size for each size class is calculated during the
104 characteristics in terms of the number of pages per zspage and the number
105 of objects that each zspage can store.
[all …]
H A Dslub.rst100 slub_debug=FZ;-,zs_handle,zspage