Searched refs:zspage (Results 1 – 5 of 5) sorted by relevance
261 struct zspage { struct276 static void zspage_lock_init(struct zspage *zspage) in zspage_lock_init() argument279 struct zspage_lock *zsl = &zspage->zsl; in zspage_lock_init()304 static void zspage_read_lock(struct zspage *zspage) in zspage_read_lock() argument306 struct zspage_lock *zsl = &zspage->zsl; in zspage_read_lock()317 static void zspage_read_unlock(struct zspage *zspage) in zspage_read_unlock() argument319 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() argument330 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 …]
40 struct zspage *zspage; member59 ZPDESC_MATCH(private, zspage);
145 int "Maximum number of physical pages per-zspage"150 that a zmalloc page (zspage) can consist of. The optimal zspage155 such as the number of pages per zspage and the number of objects156 per zspage. This can also result in different configurations of
20 页面的边界。代码将这些链接的页面作为一个实体,称为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分配给:
99 slab_debug=FZ;-,zs_handle,zspage