Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751319AbdGQJLx (ORCPT ); Mon, 17 Jul 2017 05:11:53 -0400 Received: from mail-io0-f194.google.com ([209.85.223.194]:36855 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751178AbdGQJLv (ORCPT ); Mon, 17 Jul 2017 05:11:51 -0400 Message-ID: <1500282655.8256.7.camel@gmail.com> Subject: Re: [PATCH 4/6] mm/memcontrol: allow to uncharge page without using page->lru field From: Balbir Singh To: =?ISO-8859-1?Q?J=E9r=F4me?= Glisse , linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: John Hubbard , David Nellans , Dan Williams , Michal Hocko , Johannes Weiner , Vladimir Davydov , cgroups@vger.kernel.org Date: Mon, 17 Jul 2017 19:10:55 +1000 In-Reply-To: <20170713211532.970-5-jglisse@redhat.com> References: <20170713211532.970-1-jglisse@redhat.com> <20170713211532.970-5-jglisse@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 673 Lines: 17 On Thu, 2017-07-13 at 17:15 -0400, Jérôme Glisse wrote: > HMM pages (private or public device pages) are ZONE_DEVICE page and > thus you can not use page->lru fields of those pages. This patch > re-arrange the uncharge to allow single page to be uncharge without > modifying the lru field of the struct page. > > There is no change to memcontrol logic, it is the same as it was > before this patch. > > Signed-off-by: Jérôme Glisse > Cc: Johannes Weiner > Cc: Michal Hocko > Cc: Vladimir Davydov > Cc: cgroups@vger.kernel.org > --- Acked-by: Balbir Singh