From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754561Ab2KGLya (ORCPT ); Wed, 7 Nov 2012 06:54:30 -0500 Received: from mx1.redhat.com ([209.132.183.28]:29079 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750738Ab2KGLy3 (ORCPT ); Wed, 7 Nov 2012 06:54:29 -0500 Message-ID: <509A4C7C.7020508@redhat.com> Date: Wed, 07 Nov 2012 06:56:44 -0500 From: Rik van Riel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121009 Thunderbird/16.0 MIME-Version: 1.0 To: Mel Gorman CC: Peter Zijlstra , Andrea Arcangeli , Ingo Molnar , Johannes Weiner , Hugh Dickins , Thomas Gleixner , Linus Torvalds , Andrew Morton , Linux-MM , LKML Subject: Re: [PATCH 17/19] mm: numa: Migrate on reference policy References: <1352193295-26815-1-git-send-email-mgorman@suse.de> <1352193295-26815-18-git-send-email-mgorman@suse.de> In-Reply-To: <1352193295-26815-18-git-send-email-mgorman@suse.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/06/2012 04:14 AM, Mel Gorman wrote: > This is the dumbest possible policy that still does something of note. > When a pte_numa is faulted, it is moved immediately. Any replacement > policy must at least do better than this and in all likelihood this > policy regresses normal workloads. > > Signed-off-by: Mel Gorman I expect this code to be replaced with a smarter policy. However, it may be appropriate to merge this into -mm, and then have the smarter policy implemented on top. In case we go that route ... Acked-by: Rik van Riel