Re: [PATCH 2/3][v2] vmstat: add anon_scan_ratio field to zoneinfo

From: KOSAKI Motohiro
Date: Thu Jan 14 2010 - 00:19:00 EST


> > Well. zone->lock and zone->lru_lock should be not taked at the same time.
>
> I looked over the code since I am out of office.
> I can't find any locking problem zone->lock and zone->lru_lock.
> Do you know any locking order problem?
> Could you explain it with call graph if you don't mind?
>
> I am out of office by tomorrow so I can't reply quickly.
> Sorry for late reponse.

This is not lock order issue. both zone->lock and zone->lru_lock are
hotpath lock. then, same tame grabbing might cause performance impact.

thanks.



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/