From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by kanga.kvack.org (Postfix) with ESMTP id 187946B005A for ; Tue, 22 Apr 2014 18:08:16 -0400 (EDT) Received: by mail-ve0-f179.google.com with SMTP id db12so133713veb.10 for ; Tue, 22 Apr 2014 15:08:15 -0700 (PDT) Received: from mail-ve0-x22d.google.com (mail-ve0-x22d.google.com [2607:f8b0:400c:c01::22d]) by mx.google.com with ESMTPS id ls10si7128351vec.10.2014.04.22.15.08.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Apr 2014 15:08:15 -0700 (PDT) Received: by mail-ve0-f173.google.com with SMTP id oy12so130234veb.32 for ; Tue, 22 Apr 2014 15:08:15 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <5356E33F.3000908@intel.com> References: <1398032742.19682.11.camel@pasglop> <1398054064.19682.32.camel@pasglop> <1398057630.19682.38.camel@pasglop> <53558507.9050703@zytor.com> <53559F48.8040808@intel.com> <20140422075459.GD11182@twins.programming.kicks-ass.net> <5356E33F.3000908@intel.com> Date: Tue, 22 Apr 2014 15:08:14 -0700 Message-ID: Subject: Re: Dirty/Access bits vs. page content From: Linus Torvalds Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Dave Hansen Cc: Peter Zijlstra , Hugh Dickins , "H. Peter Anvin" , Benjamin Herrenschmidt , "linux-arch@vger.kernel.org" , linux-mm , Russell King - ARM Linux , Tony Luck On Tue, Apr 22, 2014 at 2:46 PM, Dave Hansen wrote: > > I just triggered it a second time. It only happens with my debugging > config[1] *and* those two fix patches. It doesn't happen on the vanilla > kernel with lost dirty bit. Ok. So looking at it some more, I'm becoming more and more convinced that we do need to make that set_page_dirty() call in free_pages_and_swap_cache() be a set_page_dirty_lock() instead. Does that make things work for you? Linus -- 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