Re: Why sometimes count vm event with page number, sometimes not?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 05, 2019 at 10:26:44AM +0800, Wei Yang wrote:
> Hi, All,
> 
> I am curious about the semantic of __count_vm_event[s].
> 
> For example, we count PGDEACTIVATE event in lru_deactivate_file_fn() and
> lru_deactivate_fn(). One of them count with number of page, the other not.
> 
> Just curious about the exact value we want to count.

I don't understand the question.  We deactivate one page
in lru_deactivate_file_fn().  We deactivate several pages in
shrink_active_list().  PGDEACTIVATE counts the number of pages which
have been deactivated.

Does that answer your question?




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux