From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753645Ab0DLTIg (ORCPT ); Mon, 12 Apr 2010 15:08:36 -0400 Received: from mail.skyhub.de ([78.46.96.112]:60206 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753165Ab0DLTIU (ORCPT ); Mon, 12 Apr 2010 15:08:20 -0400 Date: Mon, 12 Apr 2010 21:00:02 +0200 From: Borislav Petkov To: Rik van Riel Cc: Linus Torvalds , Johannes Weiner , KOSAKI Motohiro , Andrew Morton , Minchan Kim , Linux Kernel Mailing List , Lee Schermerhorn , Nick Piggin , Andrea Arcangeli , Hugh Dickins , sgunderson@bigfoot.com Subject: Re: [PATCH -v2] rmap: make anon_vma_prepare link in all the anon_vmas of a mergeable VMA Message-ID: <20100412190002.GA8595@a1.tnic> Mail-Followup-To: Borislav Petkov , Rik van Riel , Linus Torvalds , Johannes Weiner , KOSAKI Motohiro , Andrew Morton , Minchan Kim , Linux Kernel Mailing List , Lee Schermerhorn , Nick Piggin , Andrea Arcangeli , Hugh Dickins , sgunderson@bigfoot.com References: <20100411130801.GA7189@a1.tnic> <20100411185508.GA4450@liondog.tnic> <20100412072056.GA2432@liondog.tnic> <4BC36916.3080005@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4BC36916.3080005@redhat.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rik van Riel Date: Mon, Apr 12, 2010 at 02:40:22PM -0400 > On 04/12/2010 12:26 PM, Linus Torvalds wrote: > > >But there is a _much_ more subtle case that involved swapping. > > > >So guys, here's my fairly simple theory on what happens: > > That bug looks entirely possible. Given that Borislav > has heavy swapping going on, it is quite possible that > this is the bug he has been triggering. Yeah, about that. I dunno whether you guys saw that but the machine has 8Gb of RAM and shouldn't be swapping, AFAIK. The largest mem usage I saw was 5Gb used, most of which pagecache. So I was kinda doubtful when Linus came up with the swapping theory earlier. I'll pay attention to the SwapCached in /proc/meminfo more to see whether we do any swapping. It could be that there is a small amount which is swapped out for whatever reason... Maybe that's the bug... But I'll give the patch a run anyway in an hour or so anyway. -- Regards/Gruss, Boris.