linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* vm_total_pages and page-writeback.c:total_pages
@ 2006-08-22 23:53 Chandra Seetharaman
  0 siblings, 0 replies; only message in thread
From: Chandra Seetharaman @ 2006-08-22 23:53 UTC (permalink / raw)
  To: linux-mm

Hello,

I was looking at page-writeback.c and found that there is a static
variable "total_pages", which is same as the global variable
"vm_total_pages" except that "total_pages" is not updated when new pages
are brought in through memory hotplug.

Looking at the usage of "total_pages", it doesn't look intentional. Can
somebody tell if it is the intentional or it a bug that needs to be
fixed ?

Under the same context, "ratelimit_pages" in page-writeback.c is
recalculated every time CPU is hot added/removed. But there is no
recalculation happening when new memory pages are hot added. This also
doesn't seem to be right. Comments ?

regards,

chandra  
-- 

----------------------------------------------------------------------
    Chandra Seetharaman               | Be careful what you choose....
              - sekharan@us.ibm.com   |      .......you may get it.
----------------------------------------------------------------------


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-22 23:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-22 23:53 vm_total_pages and page-writeback.c:total_pages Chandra Seetharaman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox