Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4394806imu; Tue, 18 Dec 2018 14:09:26 -0800 (PST) X-Google-Smtp-Source: AFSGD/WRrhAR4HnTjy45CGzo6P1bW9g4vb2fyjc6JgyXQw5OXz69c0vOES8YfsTFiOt+Nqt1NEW1 X-Received: by 2002:a62:31c1:: with SMTP id x184mr18773751pfx.204.1545170966467; Tue, 18 Dec 2018 14:09:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545170966; cv=none; d=google.com; s=arc-20160816; b=fXlcTSZYn+6hd5jd3tTIiXt2vNBSaPOWy19/JwQJ54BTZtdTIG0N0GVzz1avF9nBNA JtrZy3o29Xz1PtkYaj0hh9dYHXV7a4Yt08ZuzJMik9KJ1X5MGXASe3RASxOTcr2oTzg3 xczgWvdZ4o0p4XK7dFQIGw0XUtcgiiokNaHEWyzQQhAC1YNfsbfktQJN3a88MD4TJSWY NeTA5R9d99ZW+MWa6fxVtczMDJ7t/PbIRG/muKQ/QXT6cAMg9iAE3ty5EQuzH/eVUbn9 6Yd7YSUyGMLo5ef9JkGJJw3rEjBqxuPZRgkQ3tQXMB1xvNbilGGTHh1XrlhHnrZ/k3aq eVZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=BGWeVtq/Irb9P7BunQxi+VDghBd6gsAnMABs57cRmQU=; b=iWm94OlN52VK4FWB6+O5xQ8UUODYFI+SJGOp2bEyT5Pp1iWmdhPEZ0gdYt7YNlKM03 yOTY9F6E4b19Y1byXEIT/2rZjjJcpdO5FHaqRokQ9B0orZ9xuAz5nt9RiDTMhWQArdNi NNsUqavJaWxFjI35pkB1htF14fqC2hn6CkKem1msYGYrwTrh6j+Ic1q8ma1AVioYJ9o1 SmyieyR0zLyaeQfM6/p5R4QZpvwyd5AMxB2fXocKx2UdgTppMSCvpyi7CaXMY75fYS97 GXIziTqUvoWWIf6EXWpp893l/1LABhcNFG/p+VMWqr/AnWS/beSz+YlcYRgC7RDZWXVR lq+w== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 101si14983726pld.22.2018.12.18.14.09.11; Tue, 18 Dec 2018 14:09:26 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726996AbeLRVv1 (ORCPT + 99 others); Tue, 18 Dec 2018 16:51:27 -0500 Received: from nat.nue.novell.com ([195.135.221.2]:60301 "EHLO suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726675AbeLRVv1 (ORCPT ); Tue, 18 Dec 2018 16:51:27 -0500 Received: by suse.de (Postfix, from userid 1000) id A289B3C70; Tue, 18 Dec 2018 22:51:25 +0100 (CET) Date: Tue, 18 Dec 2018 22:51:25 +0100 From: Oscar Salvador To: Andrew Morton Cc: mhocko@suse.com, vbabka@suse.cz, pavel.tatashin@microsoft.com, rppt@linux.vnet.ibm.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] mm, page_alloc: Fix has_unmovable_pages for HugePages Message-ID: <20181218215118.smplwk4qhptsoyer@d104.suse.de> References: <20181217225113.17864-1-osalvador@suse.de> <20181217150726.6eea4942005516d565dae488@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181217150726.6eea4942005516d565dae488@linux-foundation.org> User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 17, 2018 at 03:07:26PM -0800, Andrew Morton wrote: > On Mon, 17 Dec 2018 23:51:13 +0100 Oscar Salvador wrote: > > > v1 -> v2: > > - Fix the logic for skipping pages by Michal > > > > --- > > Please be careful with the "^---$". It signifies end-of-changelog, so > I ended up without a changelog! Sorry Andrew, somehow I screwed it up! I will be more careful next time. > > > >From e346b151037d3c37feb10a981a4d2a25018acf81 Mon Sep 17 00:00:00 2001 > > From: Oscar Salvador > > Date: Mon, 17 Dec 2018 14:53:35 +0100 > > Subject: [PATCH] mm, page_alloc: Fix has_unmovable_pages for HugePages > > > > While playing with gigantic hugepages and memory_hotplug, I triggered > > the following #PF when "cat memoryX/removable": > > > > ... > > > > Also, since gigantic pages span several pageblocks, re-adjust the logic > > for skipping pages. > > > > Signed-off-by: Oscar Salvador > > cc:stable? > -- Oscar Salvador SUSE L3