Home
last modified time | relevance | path

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

/mm/
Dmmu_gather.c20 batch = tlb->active; in tlb_next_batch()
22 tlb->active = batch->next; in tlb_next_batch()
38 tlb->active->next = batch; in tlb_next_batch()
39 tlb->active = batch; in tlb_next_batch()
52 tlb->active = &tlb->local; in tlb_batch_pages_flush()
76 batch = tlb->active; in __tlb_remove_page_size()
85 batch = tlb->active; in __tlb_remove_page_size()
275 tlb->active = &tlb->local; in tlb_gather_mmu()
Dswap.c547 bool active; in lru_deactivate_file_fn() local
560 active = PageActive(page); in lru_deactivate_file_fn()
563 del_page_from_lru_list(page, lruvec, lru + active); in lru_deactivate_file_fn()
584 if (active) { in lru_deactivate_file_fn()
614 bool active = PageActive(page); in lru_lazyfree_fn() local
618 LRU_INACTIVE_ANON + active); in lru_lazyfree_fn()
642 bool active = PageActive(page); in lru_lazyfree_movetail_fn() local
645 LRU_INACTIVE_ANON + active); in lru_lazyfree_movetail_fn()
Dslab.c2300 page->active = 0; in alloc_slabmgmt()
2519 objp = index_to_obj(cachep, page, get_free_obj(page, page->active)); in slab_get_obj()
2520 page->active++; in slab_get_obj()
2533 for (i = page->active; i < cachep->num; i++) { in slab_put_obj()
2541 page->active--; in slab_put_obj()
2545 set_free_obj(page, page->active, objnr); in slab_put_obj()
2655 if (!page->active) { in cache_grow_end()
2662 n->free_objects += cachep->num - page->active; in cache_grow_end()
2764 if (page->active == cachep->num) { in fixup_slab_list()
2803 if (!page->active) { in get_valid_first_slab()
[all …]
Dcompaction.c799 unsigned long active, inactive, isolated; in too_many_isolated() local
803 active = node_page_state(pgdat, NR_ACTIVE_FILE) + in too_many_isolated()
808 return isolated > (inactive + active) / 2; in too_many_isolated()
Dvmscan.c2288 unsigned long inactive, active; in inactive_is_low() local
2294 active = lruvec_page_state(lruvec, NR_LRU_BASE + active_lru); in inactive_is_low()
2296 gb = (inactive + active) >> (30 - PAGE_SHIFT); in inactive_is_low()
2309 return inactive * inactive_ratio < active; in inactive_is_low()