Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760013AbXFIIDf (ORCPT ); Sat, 9 Jun 2007 04:03:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759534AbXFIIDC (ORCPT ); Sat, 9 Jun 2007 04:03:02 -0400 Received: from ebiederm.dsl.xmission.com ([166.70.28.69]:41321 "EHLO ebiederm.dsl.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759469AbXFIIDB (ORCPT ); Sat, 9 Jun 2007 04:03:01 -0400 From: ebiederm@xmission.com (Eric W. Biederman) To: Badari Pulavarty Cc: Andrew Morton , "Serge E. Hallyn" , Albert Cahalan , linux-kernel@vger.kernel.org, linux-mm@kvack.org, torvalds@linux-foundation.org Subject: Re: [PATCH] shm: Fix the filename of hugetlb sysv shared memory References: <787b0d920706062027s5a8fd35q752f8da5d446afc@mail.gmail.com> <20070606204432.b670a7b1.akpm@linux-foundation.org> <787b0d920706062153u7ad64179p1c4f3f663c3882f@mail.gmail.com> <20070607162004.GA27802@vino.hallyn.com> <46697EDA.9000209@us.ibm.com> <20070608165505.aa15fcdb.akpm@linux-foundation.org> <466A2D4F.3040300@us.ibm.com> Date: Sat, 09 Jun 2007 02:01:35 -0600 In-Reply-To: <466A2D4F.3040300@us.ibm.com> (Badari Pulavarty's message of "Fri, 08 Jun 2007 21:32:15 -0700") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) 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 Content-Length: 913 Lines: 25 Badari Pulavarty writes: > No. You still need my patch to fix the current breakage. Agreed. > This patch makes hugetlbfs also use same naming convention as regular shmem for > its > name. This is not absolutely needed, its a nice to have. Currently, user space > tools > can't depend on the filename alone, since its not unique (based on kry). Exactly. My patch is an additional fix/cleanup to bring the hugetlbfs shm segments as close to their normal counterparts as I can. pmap still won't recognize them as shm segments (different block device minor number) but otherwise they are now presented identically with normal shm segments. Eric - 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/