Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1474063ybi; Thu, 30 May 2019 18:44:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxN+sOXM0gCefUeQfr56iT45/CyKT3J8wbo/r6UHnpi/9DxtJJ0i93ZFkHx5hvn5gaZDKyz X-Received: by 2002:a62:2a0a:: with SMTP id q10mr6459772pfq.79.1559267079583; Thu, 30 May 2019 18:44:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559267079; cv=none; d=google.com; s=arc-20160816; b=AHu+Wlqvs9U0nWHqf2z1feOOS1bvPPYmGpvXNA743pQkwRKv+FVAvDnCfX701dCVeN xPSqInKtSyiJbff9tIFqoTnOzh3DF/jTkWCQQZYdVvMeViHhu0ZMxZtPmk4UH+MLbNyu 47R9PdFvYDv7qTiWBLiU0NRUy7Aql6OFKW/aeP0ee7gIkSA0tDwbk47bkqjH91k6Hm4k DymZQ6x52cGL9bubOn0Dh1TUpdWnYTz7/zYz7qkUFh8qK9M3+kyr26wI+uL9TigBYleZ MdnuaU5ye0GTtGfPfDQj3diLsM1rsSD7/eg5bf3m3Du3T7YhapVWz89rniq+3wlV+APl m+ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=4jl8k4FSkj5AWns/HCl6F5eYA5z3VPidnI5BEhRgHwY=; b=un2D1TAi1CHzFAvUn4jUSUAYLE3LRoh3EbGWpuYeg19pJBYjwdhCtzJRTZaJR8AMNa cYgRpEcsYP/hw3pr7Y9EGSmS+ztXsQmfpevjSGh5G6PFV5YGViU+Es8xZkaNrretNXHO 5WYMh7kLZy8WkYA+z65dvJ+iq6pncr0SuVc/Q5jcGKPSTLC3gc+IJDUcJVizsJjwRbmp piKY+oMRtbKlk1V/skJGup8VgZxQ/SYqji1Kgh13U8zbJwqttNp/3Mg3Y/Lei6lgZ2KD fJgUOOl4hDAKNc+i5DKv8p6lYc6P7qvVEhGQ8nbuQFqh1LBH1Pl5UmlhUobpWM81n0RB PEJg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q11si4211438pgm.354.2019.05.30.18.44.23; Thu, 30 May 2019 18:44:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726721AbfEaBnQ (ORCPT + 99 others); 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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