Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965832Ab3HHPUa (ORCPT ); Thu, 8 Aug 2013 11:20:30 -0400 Received: from mail-oa0-f49.google.com ([209.85.219.49]:42578 "EHLO mail-oa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965775Ab3HHPU3 (ORCPT ); Thu, 8 Aug 2013 11:20:29 -0400 MIME-Version: 1.0 In-Reply-To: <20130807153030.GA25515@redhat.com> References: <20130807055157.GA32278@redhat.com> <20130807153030.GA25515@redhat.com> Date: Thu, 8 Aug 2013 23:20:28 +0800 Message-ID: Subject: Re: unused swap offset / bad page map. From: Hillf Danton To: Dave Jones , Hillf Danton , linux-mm@kvack.org, Linux Kernel Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 680 Lines: 23 On Wed, Aug 7, 2013 at 11:30 PM, Dave Jones wrote: > printk didn't trigger. > Is a corrupted page table entry encountered, according to the comment of swap_duplicate()? --- a/mm/swapfile.c Wed Aug 7 17:27:22 2013 +++ b/mm/swapfile.c Thu Aug 8 23:12:30 2013 @@ -770,6 +770,7 @@ int free_swap_and_cache(swp_entry_t entr unlock_page(page); page_cache_release(page); } + return 1; return p != NULL; } -- -- 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/