tag | line | file | source code |
---|---|---|---|
dec_flt | 242 | include/linux/sched.h | unsigned long dec_flt; /* page fault count of the last time */ |
dec_flt | 341 | mm/swap.c | p->dec_flt = (p->dec_flt * 3) / 4 + p->maj_flt - p->old_maj_flt; |
dec_flt | 344 | mm/swap.c | if(p->dec_flt >= SWAP_RATIO / SWAP_MIN) { |
dec_flt | 345 | mm/swap.c | p->dec_flt = SWAP_RATIO / SWAP_MIN; |
dec_flt | 347 | mm/swap.c | } else if(p->dec_flt <= SWAP_RATIO / SWAP_MAX) |
dec_flt | 350 | mm/swap.c | p->swap_cnt = SWAP_RATIO / p->dec_flt; |