"Huang, Ying" <ying.huang@xxxxxxxxx> writes: > Michal Hocko <mhocko@xxxxxxxxxx> writes: > >> Btw. have you considered pcp refcount framework. I would suspect that >> this would give you close to SRCU performance. > > No. I think pcp refcount doesn't fit here. You should hold a initial > refcount for pcp refcount, it isn't the case here. Sorry, I am wrong here. We have an initial refcount for swap device. So pcp refcount could be used here. Best Regards, Huang, Ying -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>