Re: [PATCH 4/10] numactl/libnuma - numa_maps.5 clarifications and cleanup

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

 



On Wed, 2 Apr 2008, Lee Schermerhorn wrote:

> > >  .I mapped=<pages>
> > > -Number of mapped pages for file backed files. Only shown if different from the count of anonymous and dirty pages.
> > > +Number of non-dirty, non-anonymous mapped pages for file backed memory areas.
> > 
> > This is really the number of mapped pages. dirty pages etc are included if 
> > they are mapped.
> 
> Ah.  OK.  I misread the replaced text.  So, 'mapped' is displayed only
> if there are any clean, file-backed pages mapped?  And it includes any
> dirty and anon pages?   

mapped is displayed if the number of mapped pages deviates from anonymous 
or dirty pages. Typically all pages are either anonymous or dirty.

mm/mempolicy.c:

  if (md->pages != md->anon && md->pages != md->dirty)
                seq_printf(m, " mapped=%lu", md->pages);


> Does 'dirty' include dirty anon?  Might be worth clarifying that, as
> well.

Yes.
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-numa" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]     [Devices]

  Powered by Linux