"Zhu, Wen-Jie (Joshua)" <zhu.wen-...@hp.com> writes:
>
> Therefore in order to avoid this problem, I temporarily change the codes of 
> is_anon_memory() into following:
>             return (strcmp(filename, "//anon") && strcmp(filename, 
> "/anon_hugepage (deleted)")) == 0;
>
> I already verify this problem in  kernel 3.5.0-21-generic and RHEL kernel 
> 2.6.32-279.el6.
>
> Do you have any better solution replacement?


Your fix looks good to me, probably you just need to send it as a more
formal patch.

-Andi
-- 
a...@linux.intel.com -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to