Searched refs:active (Results 1 – 6 of 6) sorted by relevance
/mm/ |
D | swap.c | 749 bool active; in lru_deactivate_file_fn() local 761 active = PageActive(page); in lru_deactivate_file_fn() 765 del_page_from_lru_list(page, lruvec, lru + active); in lru_deactivate_file_fn() 786 if (active) in lru_deactivate_file_fn() 1026 int active = PageActive(page); in __pagevec_lru_add_fn() local 1033 update_page_reclaim_stat(lruvec, file, active); in __pagevec_lru_add_fn()
|
D | slab.c | 1543 active_objs += page->active; in slab_out_of_memory() 2376 BUG_ON(page->active); in drain_freelist() 2462 page->active = 0; in alloc_slabmgmt() 2540 objp = index_to_obj(cachep, page, get_free_obj(page, page->active)); in slab_get_obj() 2541 page->active++; in slab_get_obj() 2560 for (i = page->active; i < cachep->num; i++) { in slab_put_obj() 2568 page->active--; in slab_put_obj() 2569 set_free_obj(page, page->active, objnr); in slab_put_obj() 2805 BUG_ON(page->active >= cachep->num); in cache_alloc_refill() 2807 while (page->active < cachep->num && batchcount--) { in cache_alloc_refill() [all …]
|
D | compaction.c | 575 unsigned long active, inactive, isolated; in too_many_isolated() local 579 active = zone_page_state(zone, NR_ACTIVE_FILE) + in too_many_isolated() 584 return isolated > (inactive + active) / 2; in too_many_isolated()
|
D | memory.c | 187 batch = tlb->active; in tlb_next_batch() 189 tlb->active = batch->next; in tlb_next_batch() 205 tlb->active->next = batch; in tlb_next_batch() 206 tlb->active = batch; in tlb_next_batch() 226 tlb->active = &tlb->local; in tlb_gather_mmu() 256 tlb->active = &tlb->local; in tlb_flush_mmu_free() 297 batch = tlb->active; in __tlb_remove_page() 302 batch = tlb->active; in __tlb_remove_page()
|
D | vmscan.c | 1817 unsigned long active, inactive; in inactive_anon_is_low_global() local 1819 active = zone_page_state(zone, NR_ACTIVE_ANON); in inactive_anon_is_low_global() 1822 if (inactive * zone->inactive_ratio < active) in inactive_anon_is_low_global() 1873 unsigned long active; in inactive_file_is_low() local 1876 active = get_lru_size(lruvec, LRU_ACTIVE_FILE); in inactive_file_is_low() 1878 return active > inactive; in inactive_file_is_low()
|
D | memcontrol.c | 1480 unsigned long active; in mem_cgroup_inactive_anon_is_low() local 1484 active = mem_cgroup_get_lru_size(lruvec, LRU_ACTIVE_ANON); in mem_cgroup_inactive_anon_is_low() 1486 gb = (inactive + active) >> (30 - PAGE_SHIFT); in mem_cgroup_inactive_anon_is_low() 1492 return inactive * inactive_ratio < active; in mem_cgroup_inactive_anon_is_low()
|