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=-12.4 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 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 DFF61C4338F for ; Fri, 30 Jul 2021 08:31:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BC02F60F00 for ; Fri, 30 Jul 2021 08:31:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237981AbhG3IbQ (ORCPT ); Fri, 30 Jul 2021 04:31:16 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:46654 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230336AbhG3IbO (ORCPT ); Fri, 30 Jul 2021 04:31:14 -0400 Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id B77B6220E6; Fri, 30 Jul 2021 08:31:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1627633869; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XWvJNNwKW7SHEOZLIyfMchxd/ms2lbGMUZPA7M96By0=; b=I8PAH6vsKlJcwB5P46+BHH6+d1Q3qtJPMB0MOtc1uhE2iiWUYK+Tr6Cz+PmW9HrGBYe57v JEn0ai8ApOWjU1Zeh512Ly95ftEKxZ3FgLcWXM4Xlhi0uYNNb8pDwdZqJKxRWKxABOQQlN GKFlVdPk0SqnJWtdaVCJbEuVxNWqy6Q= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1627633869; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XWvJNNwKW7SHEOZLIyfMchxd/ms2lbGMUZPA7M96By0=; b=fM19tMw1Ucn+Onfrx1cF9iF+fdPoziGV4KRDW52k3kisn1+JxwAC6j2qOOOiKKF1RL1lMK 4Mn4mKBPXXZPcWDA== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id 932DB1374D; Fri, 30 Jul 2021 08:31:09 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id ivWpIs24A2EQFAAAGKfGzw (envelope-from ); Fri, 30 Jul 2021 08:31:09 +0000 To: Andrew Morton , kernel test robot Cc: Georgi Djakov , Linus Torvalds , LKML , lkp@lists.01.org, lkp@intel.com References: <20210729014019.GA22801@xsang-OptiPlex-9020> <20210729114611.13ff7c1c43c883bd039dab40@linux-foundation.org> From: Vlastimil Babka Subject: Re: [mm/page_owner] 866b485262: invoked_oom-killer:gfp_mask=0x Message-ID: Date: Fri, 30 Jul 2021 10:31:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20210729114611.13ff7c1c43c883bd039dab40@linux-foundation.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/29/21 8:46 PM, Andrew Morton wrote: > On Thu, 29 Jul 2021 09:40:19 +0800 kernel test robot wrote: > >> >> >> Greeting, >> >> FYI, we noticed the following commit (built with gcc-9): >> >> commit: 866b485262173a2b873386162b2ddcfbcb542b4a ("mm/page_owner: record the timestamp of all pages during free") >> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master > > I don't see how this can happen unless it's a side-effect of making > struct page_owner 8 bytes larger. It's possible. Seems to be a 32bit highmem kernel, allocation that fails is GFP_USER and the page_owner (part of page_ext) has to be in lowmem, even for highmem pages, and there's not an insignificant amount of it: [ 16.228923][ T0] allocated 178298840 bytes of page_ext Seems to be one of the cases where contemporary kernel features are not always suitable for 32bit kernels (especially with large memory). The highmem is 16GB. If it was smaller, it would be actually better. > Does setting > /proc/sys/vm/oom_dump_tasks tell us more? > From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============1800600965725121608==" MIME-Version: 1.0 From: Vlastimil Babka To: lkp@lists.01.org Subject: Re: [mm/page_owner] 866b485262: invoked_oom-killer:gfp_mask=0x Date: Fri, 30 Jul 2021 10:31:09 +0200 Message-ID: In-Reply-To: <20210729114611.13ff7c1c43c883bd039dab40@linux-foundation.org> List-Id: --===============1800600965725121608== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 7/29/21 8:46 PM, Andrew Morton wrote: > On Thu, 29 Jul 2021 09:40:19 +0800 kernel test robot wrote: > = >> = >> = >> Greeting, >> = >> FYI, we noticed the following commit (built with gcc-9): >> = >> commit: 866b485262173a2b873386162b2ddcfbcb542b4a ("mm/page_owner: record= the timestamp of all pages during free") >> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master > = > I don't see how this can happen unless it's a side-effect of making > struct page_owner 8 bytes larger. It's possible. Seems to be a 32bit highmem kernel, allocation that fails is GFP_USER and the page_owner (part of page_ext) has to be in lowmem, even for highmem pages, and there's not an insignificant amount of it: [ 16.228923][ T0] allocated 178298840 bytes of page_ext Seems to be one of the cases where contemporary kernel features are not alw= ays suitable for 32bit kernels (especially with large memory). The highmem is 1= 6GB. If it was smaller, it would be actually better. > Does setting > /proc/sys/vm/oom_dump_tasks tell us more? >=20 --===============1800600965725121608==--