Re: Lists LRU

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

 



Hi Eduardo...

Good questions...

On Tue, May 13, 2008 at 9:02 AM, Eduardo Júnior <ihtraum18@xxxxxxxxx> wrote:
>
> Hi,
>
> I read that the lists LRU (active and inactive) store working set of the
> processes that are running.

not only process owned pages, but kernel allocated ones such as
buffer, socket buffer and so on AFAIK.

> I read that also on the active list is two-thirds of the inactive list.

Hmmm? never measure it...but that's possible...even more I guess...
depending on current real memory pressure..

>  My source has not informed as the size of the inactive list was defined, if
> at compile time or runtime.

not defined AFAIK. it's entirely a dynamic data structure.

>  So, I wonder:
>
>  - The size of the inactive list is defined that way?

nope, dynamic..
>  - The definition of the size of the inactive list has some dependence on
> architecture?

nope...

>  - The lists are initialized in the boot?
AFAIK yes

>Only pages of the image and
> structures of pages of the kernel are these lists? What kinds of pages they
> store?

any kind of allocated pages..by allocated i mean the one which is
allocated via kmalloc() and friends and not locked into RAM and must
exist in the entire life of the kernel.

>  Any reference to respect would be welcome.

Sorry, none that I have. maybe mel gorman's PDF.

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux