Home
last modified time | relevance | path

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

/linux/mm/
H A Dzsmalloc.c261 struct zspage { struct
276 static void zspage_lock_init(struct zspage *zspage) in zspage_lock_init() argument
279 struct zspage_lock *zsl = &zspage->zsl; in zspage_lock_init()
304 static void zspage_read_lock(struct zspage *zspage) in zspage_read_lock() argument
306 struct zspage_lock *zsl = &zspage->zsl; in zspage_read_lock()
317 static void zspage_read_unlock(struct zspage *zspage) in zspage_read_unlock() argument
319 struct zspage_lock *zsl = &zspage->zsl; in zspage_read_unlock()
328 static __must_check bool zspage_write_trylock(struct zspage *zspage) in zspage_write_trylock() argument
330 struct zspage_lock *zsl = &zspage->zsl; in zspage_write_trylock()
344 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 DKconfig145 int "Maximum number of physical pages per-zspage"
150 that a zmalloc page (zspage) can consist of. The optimal zspage
155 such as the number of pages per zspage and the number of objects
156 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