Messages in this thread | | | Date | Thu, 9 Jul 2009 17:00:01 -0400 (EDT) | From | Christoph Lameter <> | Subject | Re: [PATCH 4/5] add isolate pages vmstat |
| |
On Thu, 9 Jul 2009, KOSAKI Motohiro wrote:
> > > > Could you move the counters for reclaim into a separate cacheline? > > > > Current definition is here. > > dirty pages and other frequently used counter stay in first cache line. > NR_ISOLATED_(ANON|FILE) and other unfrequently used counter stay in second > cache line. > > Do you mean we shouldn't use zone_stat_item for it?
No there is really no alternative to it.
Just be aware that what you may increases the cache footprint of key functions in the vm. Some regression tests would be useful (do a page fault test etc).
| |