Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757933AbZFOIff (ORCPT ); Mon, 15 Jun 2009 04:35:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752371AbZFOIf1 (ORCPT ); Mon, 15 Jun 2009 04:35:27 -0400 Received: from rcsinet11.oracle.com ([148.87.113.123]:35338 "EHLO rgminet11.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751478AbZFOIf1 (ORCPT ); Mon, 15 Jun 2009 04:35:27 -0400 Message-ID: <4A360793.6060000@oracle.com> Date: Mon, 15 Jun 2009 16:34:27 +0800 From: Tao Ma User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Amerigo Wang CC: "Eric W. Biederman" , Andrew Morton , linux-kernel@vger.kernel.org, Alexey Dobriyan Subject: Re: [Patch BUGFIX] kcore: fix its wrong size on x86_64 References: <2375c9f90906072341o2cded749m45bdddfdb499469@mail.gmail.com> <4A2CC52B.9010602@oracle.com> <2375c9f90906081743p77934f47n8ba1a018d333b95b@mail.gmail.com> <20090611050929.GA2706@cr0.nay.redhat.com> <20090613040958.GA2959@cr0> <20090615021457.GA3388@cr0.nay.redhat.com> <4A35E32C.30609@oracle.com> <20090615070018.GD3544@cr0.nay.redhat.com> In-Reply-To: <20090615070018.GD3544@cr0.nay.redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: abhmt008.oracle.com [141.146.116.17] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.4A360797.0258:SCFSTAT5015188,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1214 Lines: 47 Hi Amerigo, The wrong number I mean is 131941393240064. So do you think [root@test3 ~]# ls -l /proc/kcore -r-------- 1 root root 131941393240064 Jun 15 13:39 /proc/kcore is better than [taoma@test2 ~]$ ll /proc/kcore -r-------- 1 root root 281474974617600 Jun 15 15:20 /proc/kcore ? I don't think so. Actually the right result should look like [root@test8 ~]# ls -l /proc/kcore -r-------- 1 root root 5301604352 Jun 15 13:35 /proc/kcore And with your patch I can't get this number. Regards, Tao Amerigo Wang wrote: > On Mon, Jun 15, 2009 at 01:59:08PM +0800, Tao Ma wrote: >> Hi Amerigo, >> Just patched my kernel and tested. >> The bad news is that although the number is changed, but it isn't right >> either. > > Thanks for testing. > > What do you mean by saying it isn't right? You think it is wrong only because > it is more than phy mem size? > > Again, the document of /proc/kcore is wrong, it _can_ be more than phy mem size. > > Regards. > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/