From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Huang\, Ying" Subject: Re: mmotm 2019-05-29-20-52 uploaded Date: Fri, 31 May 2019 10:42:35 +0800 Message-ID: <87h89b5opw.fsf@yhuang-dev.intel.com> References: <20190530035339.hJr4GziBa%akpm@linux-foundation.org> <87lfyn5rgu.fsf@yhuang-dev.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ascii Return-path: In-Reply-To: <87lfyn5rgu.fsf@yhuang-dev.intel.com> (Ying Huang's message of "Fri, 31 May 2019 09:43:13 +0800") Sender: linux-kernel-owner@vger.kernel.org To: Mike Kravetz Cc: akpm@linux-foundation.org, broonie@kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-next@vger.kernel.org, mhocko@suse.cz, mm-commits@vger.kernel.org, sfr@canb.auug.org.au List-Id: linux-next.vger.kernel.org "Huang, Ying" writes: > 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. I have sent out a fix patch in another thread with title "[PATCH -mm] mm, swap: Fix bad swap file entry warning" Can you try it? Best Regards, Huang, Ying