From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Tollefson Subject: Re: 2.6.26-rc5-mm3: BUG large value for HugePages_Rsvd Date: Thu, 19 Jun 2008 22:18:24 -0500 Message-ID: <485B2180.10507@us.ibm.com> References: <20080611225945.4da7bb7f.akpm@linux-foundation.org> <485A8903.9030808@linux.vnet.ibm.com> <20080619171644.GC13275@shadowen.org> Reply-To: kniht-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080619171644.GC13275-26w3C0LaAnFg9hUCZPvPmw@public.gmane.org> Sender: kernel-testers-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Andy Whitcroft Cc: Jon Tollefson , Andrew Morton , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, Nick Piggin , Nishanth Aravamudan , Adam Litke Andy Whitcroft wrote: > On Thu, Jun 19, 2008 at 11:27:47AM -0500, Jon Tollefson wrote: > >> After running some of the libhugetlbfs tests the value for >> /proc/meminfo/HugePages_Rsvd becomes really large. It looks like it has >> wrapped backwards from zero. >> Below is the sequence I used to run one of the tests that causes this; >> the tests passes for what it is intended to test but leaves a large >> value for reserved pages and that seemed strange to me. >> test run on ppc64 with 16M huge pages >> > > Yes Adam reported that here yesterday, he found it in his hugetlfs testing. > I have done some investigation on it and it is being triggered by a bug in > the private reservation tracking patches. It is triggered by the hugetlb > test which causes some complex vma splits to occur on a private mapping. > sorry I missed that > I believe I have the underlying problem nailed and do have some nearly > complete patches for this and they should be in a postable state by > tommorrow. > Cool. > -apw > Jon -- To unsubscribe from this list: send the line "unsubscribe kernel-testers" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754456AbYFTDSi (ORCPT ); Thu, 19 Jun 2008 23:18:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752185AbYFTDS2 (ORCPT ); Thu, 19 Jun 2008 23:18:28 -0400 Received: from e31.co.us.ibm.com ([32.97.110.149]:46868 "EHLO e31.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752076AbYFTDS1 (ORCPT ); Thu, 19 Jun 2008 23:18:27 -0400 Message-ID: <485B2180.10507@us.ibm.com> Date: Thu, 19 Jun 2008 22:18:24 -0500 From: Jon Tollefson Reply-To: kniht@linux.vnet.ibm.com User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Andy Whitcroft CC: Jon Tollefson , Andrew Morton , linux-kernel@vger.kernel.org, kernel-testers@vger.kernel.org, linux-mm@kvack.org, Nick Piggin , Nishanth Aravamudan , Adam Litke Subject: Re: 2.6.26-rc5-mm3: BUG large value for HugePages_Rsvd References: <20080611225945.4da7bb7f.akpm@linux-foundation.org> <485A8903.9030808@linux.vnet.ibm.com> <20080619171644.GC13275@shadowen.org> In-Reply-To: <20080619171644.GC13275@shadowen.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andy Whitcroft wrote: > On Thu, Jun 19, 2008 at 11:27:47AM -0500, Jon Tollefson wrote: > >> After running some of the libhugetlbfs tests the value for >> /proc/meminfo/HugePages_Rsvd becomes really large. It looks like it has >> wrapped backwards from zero. >> Below is the sequence I used to run one of the tests that causes this; >> the tests passes for what it is intended to test but leaves a large >> value for reserved pages and that seemed strange to me. >> test run on ppc64 with 16M huge pages >> > > Yes Adam reported that here yesterday, he found it in his hugetlfs testing. > I have done some investigation on it and it is being triggered by a bug in > the private reservation tracking patches. It is triggered by the hugetlb > test which causes some complex vma splits to occur on a private mapping. > sorry I missed that > I believe I have the underlying problem nailed and do have some nearly > complete patches for this and they should be in a postable state by > tommorrow. > Cool. > -apw > Jon From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e34.co.us.ibm.com (8.13.8/8.13.8) with ESMTP id m5K3IQSE029717 for ; Thu, 19 Jun 2008 23:18:26 -0400 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.0) with ESMTP id m5K3IPKh122866 for ; Thu, 19 Jun 2008 21:18:25 -0600 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m5K3IPXe009664 for ; Thu, 19 Jun 2008 21:18:25 -0600 Message-ID: <485B2180.10507@us.ibm.com> Date: Thu, 19 Jun 2008 22:18:24 -0500 From: Jon Tollefson Reply-To: kniht@linux.vnet.ibm.com MIME-Version: 1.0 Subject: Re: 2.6.26-rc5-mm3: BUG large value for HugePages_Rsvd References: <20080611225945.4da7bb7f.akpm@linux-foundation.org> <485A8903.9030808@linux.vnet.ibm.com> <20080619171644.GC13275@shadowen.org> In-Reply-To: <20080619171644.GC13275@shadowen.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Andy Whitcroft Cc: Jon Tollefson , Andrew Morton , linux-kernel@vger.kernel.org, kernel-testers@vger.kernel.org, linux-mm@kvack.org, Nick Piggin , Nishanth Aravamudan , Adam Litke List-ID: Andy Whitcroft wrote: > On Thu, Jun 19, 2008 at 11:27:47AM -0500, Jon Tollefson wrote: > >> After running some of the libhugetlbfs tests the value for >> /proc/meminfo/HugePages_Rsvd becomes really large. It looks like it has >> wrapped backwards from zero. >> Below is the sequence I used to run one of the tests that causes this; >> the tests passes for what it is intended to test but leaves a large >> value for reserved pages and that seemed strange to me. >> test run on ppc64 with 16M huge pages >> > > Yes Adam reported that here yesterday, he found it in his hugetlfs testing. > I have done some investigation on it and it is being triggered by a bug in > the private reservation tracking patches. It is triggered by the hugetlb > test which causes some complex vma splits to occur on a private mapping. > sorry I missed that > I believe I have the underlying problem nailed and do have some nearly > complete patches for this and they should be in a postable state by > tommorrow. > Cool. > -apw > Jon -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org