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()
219 tlb->active = &tlb->local; in tlb_gather_mmu()
Dswap.c500 bool active; in lru_deactivate_file_fn() local
512 active = PageActive(page); in lru_deactivate_file_fn()
516 del_page_from_lru_list(page, lruvec, lru + active); in lru_deactivate_file_fn()
537 if (active) in lru_deactivate_file_fn()
564 bool active = PageActive(page); in lru_lazyfree_fn() local
567 LRU_INACTIVE_ANON + active); in lru_lazyfree_fn()
Dslab.c2301 page->active = 0; in alloc_slabmgmt()
2522 objp = index_to_obj(cachep, page, get_free_obj(page, page->active)); in slab_get_obj()
2523 page->active++; in slab_get_obj()
2536 for (i = page->active; i < cachep->num; i++) { in slab_put_obj()
2544 page->active--; in slab_put_obj()
2548 set_free_obj(page, page->active, objnr); in slab_put_obj()
2662 if (!page->active) { in cache_grow_end()
2669 n->free_objects += cachep->num - page->active; in cache_grow_end()
2771 if (page->active == cachep->num) { in fixup_slab_list()
2810 if (!page->active) { in get_valid_first_slab()
[all …]
Dvmscan.c2236 unsigned long inactive, active; in inactive_list_is_low() local
2249 active = lruvec_lru_size(lruvec, active_lru, sc->reclaim_idx); in inactive_list_is_low()
2260 gb = (inactive + active) >> (30 - PAGE_SHIFT); in inactive_list_is_low()
2270 lruvec_lru_size(lruvec, active_lru, MAX_NR_ZONES), active, in inactive_list_is_low()
2273 return inactive * inactive_ratio < active; in inactive_list_is_low()
Dcompaction.c751 unsigned long active, inactive, isolated; in too_many_isolated() local
755 active = node_page_state(pgdat, NR_ACTIVE_FILE) + in too_many_isolated()
760 return isolated > (inactive + active) / 2; in too_many_isolated()