2007/1/11, yunfeng zhang <[EMAIL PROTECTED]>: 2007/1/11, Rik van Riel <[EMAIL PROTECTED]>:
Have you actually measured this? If your measurements saw any performance gains, with what kind of workload did they happen, how big were they and how do you explain those performance gains? How do you balance scanning the private memory with taking pages off the per-zone page lists? How do you deal with systems where some zones are really large and other zones are really small, eg. a 32 bit system with one 880MB zone and one 15.1GB zone?
Another solution is add a new field preferred_zone to the scan_control of mm/vmscan.c, keep it in mind that new swap strategy is from up to down, from UserSpace to PrivatePage/SharedPage. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/