From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261681AbUKIVId (ORCPT ); Tue, 9 Nov 2004 16:08:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261683AbUKIVId (ORCPT ); Tue, 9 Nov 2004 16:08:33 -0500 Received: from bay-bridge.veritas.com ([143.127.3.10]:32659 "EHLO MTVMIME01.enterprise.veritas.com") by vger.kernel.org with ESMTP id S261681AbUKIVIc (ORCPT ); Tue, 9 Nov 2004 16:08:32 -0500 Date: Tue, 9 Nov 2004 21:08:11 +0000 (GMT) From: Hugh Dickins X-X-Sender: hugh@localhost.localdomain To: "Martin J. Bligh" cc: Brent Casavant , Andi Kleen , "Adam J. Richter" , , , Subject: Re: [PATCH] Use MPOL_INTERLEAVE for tmpfs files In-Reply-To: <463220000.1100030992@flay> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 9 Nov 2004, Martin J. Bligh wrote: > > > I'm irritated to realize that we can't change the default for SysV > > shared memory or /dev/zero this way, because that mount is internal. > > Boggle. shmem I can perfectly understand, and have been intending to > change for a while. But why /dev/zero ? Presumably you'd always want > that local? I was meaning the mmap shared writable of /dev/zero, to get memory shared between parent and child and descendants, a restricted form of shared memory. I was thinking of them running on different cpus, you're suggesting they'd at least be on the same node. I dare say, I don't know. I'm not desperate to be able to set some other mpol default for all of them (and each object can be set in the established way), just would have been happier if the possibility of doing so came for free with the mount option work. Hugh From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 9 Nov 2004 21:08:11 +0000 (GMT) From: Hugh Dickins Subject: Re: [PATCH] Use MPOL_INTERLEAVE for tmpfs files In-Reply-To: <463220000.1100030992@flay> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-linux-mm@kvack.org Return-Path: To: "Martin J. Bligh" Cc: Brent Casavant , Andi Kleen , "Adam J. Richter" , colpatch@us.ibm.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: On Tue, 9 Nov 2004, Martin J. Bligh wrote: > > > I'm irritated to realize that we can't change the default for SysV > > shared memory or /dev/zero this way, because that mount is internal. > > Boggle. shmem I can perfectly understand, and have been intending to > change for a while. But why /dev/zero ? Presumably you'd always want > that local? I was meaning the mmap shared writable of /dev/zero, to get memory shared between parent and child and descendants, a restricted form of shared memory. I was thinking of them running on different cpus, you're suggesting they'd at least be on the same node. I dare say, I don't know. I'm not desperate to be able to set some other mpol default for all of them (and each object can be set in the established way), just would have been happier if the possibility of doing so came for free with the mount option work. Hugh -- 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: aart@kvack.org