From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: perf-.map I generated for jit codes lose effect when hugepage used Date: Mon, 31 Dec 2012 11:40:57 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mga14.intel.com ([143.182.124.37]:4670 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751679Ab2LaTk7 convert rfc822-to-8bit (ORCPT ); Mon, 31 Dec 2012 14:40:59 -0500 In-Reply-To: (Wen-Jie Zhu's message of "Mon, 31 Dec 2012 06:02:27 +0000") Sender: linux-perf-users-owner@vger.kernel.org List-ID: To: "Zhu, Wen-Jie (Joshua)" Cc: "linux-perf-users@vger.kernel.org" "Zhu, Wen-Jie (Joshua)" writes: > > Therefore in order to avoid this problem, I temporarily change the co= des of is_anon_memory() into following: > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 re= turn (strcmp(filename, "//anon") && strcmp(filename, "/anon_hugepage (d= eleted)")) =3D=3D 0; > > I already verify this problem in =C2=A0kernel 3.5.0-21-generic and RH= EL 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 --=20 ak@linux.intel.com -- Speaking for myself only