Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752452AbYLPFNo (ORCPT ); Tue, 16 Dec 2008 00:13:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750787AbYLPFNg (ORCPT ); Tue, 16 Dec 2008 00:13:36 -0500 Received: from cn.fujitsu.com ([222.73.24.84]:52850 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1750742AbYLPFNg (ORCPT ); Tue, 16 Dec 2008 00:13:36 -0500 Message-ID: <4947389D.1050708@cn.fujitsu.com> Date: Tue, 16 Dec 2008 13:11:57 +0800 From: Miao Xie Reply-To: miaox@cn.fujitsu.com User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Paul Menage CC: Linux-Kernel Subject: Why are the pages not migrated to current cpuset after 'memory_migrate' is set true Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 723 Lines: 20 Hi, Paul I found the pages that task had allocated to it on nodes in its previous cpuset were not migrated to the tasks' current cpuset after 'memory_migrate' was set true. It looks strange for users. Why are the pages not migrated to current cpuset after 'memory_migrate' is set true? Step I did 1, allocate pages on cpuset (mems is 0, memory_migrate is 0) 2, change cpuset's mems (mems: 0 -> 1) 3, change cpuset's memory_migrate(memory_migrate: 0 -> 1) Regards Miao Xie -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/