Home
last modified time | relevance | path

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

/linux/mm/
H A Dzsmalloc.c332 struct zspage { struct
347 static void zspage_lock_init(struct zspage *zspage) in zspage_lock_init() argument
350 struct zspage_lock *zsl = &zspage->zsl; in zspage_lock_init()
375 static void zspage_read_lock(struct zspage *zspage) in zspage_read_lock() argument
377 struct zspage_lock *zsl = &zspage->zsl; in zspage_read_lock()
388 static void zspage_read_unlock(struct zspage *zspage) in zspage_read_unlock() argument
390 struct zspage_lock *zsl = &zspage->zsl; in zspage_read_unlock()
399 static __must_check bool zspage_write_trylock(struct zspage *zspage) in zspage_write_trylock() argument
401 struct zspage_lock *zsl = &zspage->zsl; in zspage_write_trylock()
415 static void zspage_write_unlock(struct zspage *zspage) in zspage_write_unlock() argument
[all …]
H A Dzpdesc.h40 struct zspage *zspage; member
59 ZPDESC_MATCH(private, zspage);
H A DKconfig143 int "Maximum number of physical pages per-zspage"
148 that a zmalloc page (zspage) can consist of. The optimal zspage
153 such as the number of pages per zspage and the number of objects
154 per zspage. This can also result in different configurations of
/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分配给:
/linux/Documentation/admin-guide/mm/
H A Dslab.rst99 slab_debug=FZ;-,zs_handle,zspage