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=-5.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 1E295C433E0 for ; Thu, 9 Jul 2020 08:25:52 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id DCE19206A1 for ; Thu, 9 Jul 2020 08:25:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DCE19206A1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arndb.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 414646B0023; Thu, 9 Jul 2020 04:25:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 3C3926B0024; Thu, 9 Jul 2020 04:25:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3013D6B0025; Thu, 9 Jul 2020 04:25:51 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0057.hostedemail.com [216.40.44.57]) by kanga.kvack.org (Postfix) with ESMTP id 1A3C66B0023 for ; Thu, 9 Jul 2020 04:25:51 -0400 (EDT) Received: from smtpin07.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id B4E84180AD807 for ; Thu, 9 Jul 2020 08:25:50 +0000 (UTC) X-FDA: 77017854060.07.guide52_220037d26ec4 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin07.hostedemail.com (Postfix) with ESMTP id 8D5D01803F9A5 for ; Thu, 9 Jul 2020 08:25:50 +0000 (UTC) X-HE-Tag: guide52_220037d26ec4 X-Filterd-Recvd-Size: 5157 Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.74]) by imf10.hostedemail.com (Postfix) with ESMTP for ; Thu, 9 Jul 2020 08:25:49 +0000 (UTC) Received: from mail-qk1-f171.google.com ([209.85.222.171]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPSA (Nemesis) id 1MeTwY-1kRP7A1eey-00aU1h for ; Thu, 09 Jul 2020 10:25:48 +0200 Received: by mail-qk1-f171.google.com with SMTP id 80so990923qko.7 for ; Thu, 09 Jul 2020 01:25:48 -0700 (PDT) X-Gm-Message-State: AOAM532FkRL2k+NwKYupUT6WHrQ2xhpGWI/fVgQnn6RvFVqNirfONJHg oMb45Je/dlzHHLmj2wZFx4RY4x1UCkBx5wERAdI= X-Google-Smtp-Source: ABdhPJyXV7lQWgRTMyw9+0OfyvkSZbUKyqYlpR84nLWBDaf70IBhbe8ZuySwyXzLn/Mvu7wXfcuJTGuY/HrtTVDvAdw= X-Received: by 2002:a37:b484:: with SMTP id d126mr61620523qkf.394.1594283147047; Thu, 09 Jul 2020 01:25:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Arnd Bergmann Date: Thu, 9 Jul 2020 10:25:31 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: WARNING: at mm/mremap.c:211 move_page_tables in i386 To: Naresh Kamboju Cc: linux- stable , open list , linux-mm , Andrew Morton , Roman Gushchin , Michal Hocko , lkft-triage@lists.linaro.org, Chris Down , Linus Torvalds , Michel Lespinasse , Fan_Yang@sjtu.edu.cn, bgeffon@google.com, Anshuman Khandual , Will Deacon , Catalin Marinas , pugaowei@gmail.com, =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Joel Fernandes , Greg Kroah-Hartman , Mel Gorman , Hugh Dickins , Al Viro , Tejun Heo , Sasha Levin Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:+7rmO9htaBFJ2BZ9PkJLnfMeXDvFp01k7rUV4/aRQ81VrQpjpfP Cc5eZw9dKjAe61k/SpESFH9LN2YW1fZNO/dqgVQjVPJzkowwKsa585uMBb0VLJfu616JyNK MBnhZGgw+1PvjadZm3Mbo0XgwtYuLIzc95ueqci5E7JsG+TqpoOmh4HNuCBUBij1Ni0RKFC zOel8xkR9KhFnkeKRfm1g== X-UI-Out-Filterresults: notjunk:1;V03:K0:MGRH/Q/+2Eg=:SxNiTZuBqbUc/rsJ7YhQ4V SZJmQJAycOnlXn8tKHjBGHVN4o0Dc/D840wS1UklXC0yWVjAQ2KrEdbh8cLdveIKTT+qiu81Z F51euLkIpIxKNM9SDCl1Wh8G95EvNARY9VkyhGg23CEd2I2ZCnkv/4r7jSDuWgyOIF6MAOmVE 8e8PFPAn6kpWvsTObdWNXOUh6LQfYytpUQqAtiElcG4aeTquXavp0sBnfOA5jsEqjrJvoWvpQ W2ZOaMepMHjpXwmzLq15Dp6j6LyokARFjJwKrUjmejLXmdN3Qm1z7TqQptsFNN/tmPzkOyKs8 Yh/mMBrAoF/w64S7J/aDEu55GBC4jImNdz+OVdGx5tIEmX/XubxnLSjZ326Sg93n4Zppvyk/w OwxXRUC/1C4G1aDtBg9XDjMv6tp0eoS+zHBJAcW9DmX2xPtX6J31KI6og6cDGvLm7y16C+2lO DkFQY4WaT5YQ7XSIiJ1BJR/MIEpKOz69nn+QTPKRwzmtXpemNDVKShZWZjXJjvdxoMRTqVLQB xoMOCavcDDhopfHDNVuIHwzDQNCE4CI0nnqKvuqsz9vLVZ6q1kTf2ORNtRZm6Wsvpgct2BXH9 vJWi6iCECvpTo7VFeofrGvbOBygCM8HdnIdOr9rJt0K6d+4f99VBK6Y6MXd1F7hRRkfy334Jo duGrOWinlwQNoMrkQLq5Wi9xx7RGqQXNFfN/RWHFlnqDy7fynAQZ59Yc8aAeJaNQ5O+GX73ZM WottmUTrQnSbL6vg+rjBfwhSDvsxKx0qDosIC0WSj5ui9WsL4fHxMBtdh1yfqjjjcaFqUxk8+ VoTQoTkNMPJhg74fDHGfBFbFaeu3Ywp6H22KoK0ajSuTvWWZ9sx/y9i5h/I+nWytZM1/OeQ5t brCUHhQb2syk5pw1CtlcDPjuqYkvvPRaFTJkx75VJgEuhfsaA2a8MMO9BV/vpME3ZBz39H+es d1YXtLQ6WwKjkeydEHea39x8dHK5Uow3P3CDEKjuJuzn7LQmMsQY6 X-Rspamd-Queue-Id: 8D5D01803F9A5 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam02 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Thu, Jul 9, 2020 at 7:28 AM Naresh Kamboju wrote: > > While running LTP mm test suite on i386 or qemu_i386 this kernel warning > has been noticed from stable 5.4 to stable 5.7 branches and mainline 5.8.0-rc4 > and linux next. Are you able to correlate this with any particular test case in LTP, or does it happen for random processes? In the log you linked to, it happens once for ksm05.c and multiple times for thp01.c, sources here: https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/mem/ksm/ksm05.c https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/mem/thp/thp01.c Is it always these tests that trigger the warning, or sometimes others? When you say it happens with linux-5.4 stable, does that mean you don't see it with older versions? What is the last known working version? I also see that you give the virtual machine 16GB of RAM, but as you are running a 32-bit kernel without PAE, only 2.3GB end up being available, and some other LTP tests in the log run out of memory. You could check if the behavior changes if you give the kernel less memory, e.g. 768MB (lowmem only), or enable CONFIG_X86_PAE to let it use the entire 16GB. > full test log, > https://lkft.validation.linaro.org/scheduler/job/1541788#L9308 Arnd