From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09E55C28CC0 for ; Fri, 31 May 2019 01:43:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E103826195 for ; Fri, 31 May 2019 01:43:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726643AbfEaBnQ (ORCPT ); Thu, 30 May 2019 21:43:16 -0400 Received: from mga17.intel.com ([192.55.52.151]:42754 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726372AbfEaBnQ (ORCPT ); Thu, 30 May 2019 21:43:16 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 May 2019 18:43:15 -0700 X-ExtLoop1: 1 Received: from yhuang-dev.sh.intel.com (HELO yhuang-dev) ([10.239.159.29]) by fmsmga001.fm.intel.com with ESMTP; 30 May 2019 18:43:14 -0700 From: "Huang\, Ying" To: Mike Kravetz Cc: , , , , , , , , Subject: Re: mmotm 2019-05-29-20-52 uploaded References: <20190530035339.hJr4GziBa%akpm@linux-foundation.org> Date: Fri, 31 May 2019 09:43:13 +0800 In-Reply-To: (Mike Kravetz's message of "Thu, 30 May 2019 13:54:07 -0700") Message-ID: <87lfyn5rgu.fsf@yhuang-dev.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Hi, Mike, Mike Kravetz writes: > On 5/29/19 8:53 PM, akpm@linux-foundation.org wrote: >> The mm-of-the-moment snapshot 2019-05-29-20-52 has been uploaded to >> >> http://www.ozlabs.org/~akpm/mmotm/ >> > > With this kernel, I seem to get many messages such as: > > get_swap_device: Bad swap file entry 1400000000000001 > > It would seem to be related to commit 3e2c19f9bef7e >> * mm-swap-fix-race-between-swapoff-and-some-swap-operations.patch Hi, Mike, Thanks for reporting! I find an issue in my patch and I can reproduce your problem now. The reason is total_swapcache_pages() will call get_swap_device() for invalid swap device. So we need to find a way to silence the warning. I will post a fix ASAP. Best Regards, Huang, Ying