From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <02f001c8108c$a3818760$3708a8c0@arcapub.arca.com> From: "Jacky\(GuangXiang Lee\)" References: <20071016191949.cd50f12f.kamezawa.hiroyu@jp.fujitsu.com><20071016192341.1c3746df.kamezawa.hiroyu@jp.fujitsu.com><20071017141609.0eb60539.kamezawa.hiroyu@jp.fujitsu.com> <20071017145009.e4a56c0d.kamezawa.hiroyu@jp.fujitsu.com> Subject: about page migration on UMA Date: Wed, 17 Oct 2007 15:09:19 +0800 Sender: owner-linux-mm@kvack.org Return-Path: To: climeter@sgi.com Cc: linux-mm@kvack.org List-ID: seems page migration is used mostly for NUMA platform to improve performance. But in a UMA architecture, Is it possible to use page migration to move pages ? ----- Original Message ----- From: "KAMEZAWA Hiroyuki" To: "David Rientjes" Cc: ; ; ; Sent: Wednesday, October 17, 2007 1:50 PM Subject: Re: [PATCH] memory cgroup enhancements [1/5] force_empty for memory cgroup > On Tue, 16 Oct 2007 22:38:18 -0700 (PDT) > David Rientjes wrote: > > > Thanks, > > > > You mean make it write-only? Typically it would be as easy as only > > specifying a mode of S_IWUSR so that it can only be written to, the > > S_IFREG is already provided by cgroup_add_file(). > > > > Unfortunately, cgroups do not appear to allow that. It hardcodes > > the permissions of 0644 | S_IFREG into the cgroup_create_file() call from > > cgroup_add_file(), which is a bug. Cgroup files should be able to be > > marked as read-only or write-only depending on their semantics. > > > > So until that bug gets fixed and you're allowed to pass your own file > > modes to cgroup_add_files(), you'll have to provide the read function. > > > Hmm. it seems I have to read current cgroup code more. > Thank you for advice. > > Regards, > -Kame > > -- > To unsubscribe, send a message with 'unsubscribe linux-mm' in > the body to majordomo@kvack.org. For more info on Linux MM, > see: http://www.linux-mm.org/ . > Don't email: email@kvack.org -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org