From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by rv-out-0708.google.com with SMTP id f25so1926456rvb.26 for ; Sat, 04 Oct 2008 22:48:39 -0700 (PDT) Message-ID: <2f11576a0810042248v209cae42m3ed280f0489b8a0@mail.gmail.com> Date: Sun, 5 Oct 2008 14:48:39 +0900 From: "KOSAKI Motohiro" Subject: Re: [RFC PATCH] Report the shmid backing a VMA in maps In-Reply-To: <20081004215228.GA20048@x200.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1223052415-18956-1-git-send-email-mel@csn.ul.ie> <1223052415-18956-3-git-send-email-mel@csn.ul.ie> <20081004205650.CE47.KOSAKI.MOTOHIRO@jp.fujitsu.com> <20081004215228.GA20048@x200.localdomain> Sender: owner-linux-mm@kvack.org Return-Path: To: Alexey Dobriyan Cc: Mel Gorman , akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Adam Litke List-ID: 2008/10/5 Alexey Dobriyan : > On Sat, Oct 04, 2008 at 09:04:03PM +0900, KOSAKI Motohiro wrote: >> In the other hand, huge page is often used via ipc shm, not mmap. >> So, administrator often want to know relationship of memory region and shmid. >> >> Then, To add shmid attribute in /proc/{pid}/maps is useful. >> >> >> In addition, shmid information is not only useful for huge page, but also for normal shm. >> Then, this patch works well on normal shm. > >> 2000000000500000-2000000000900000 rw-s 00000000 00:09 0 /SYSV00000000 (deleted) (shmid=0) >> 2000000000900000-2000000000d00000 rw-s 00000000 00:09 32769 /SYSV00000000 (deleted) (shmid=32769) > ^^^^^ ^^^^^ > > shmid is already in place, and no, it's not a coincidence ;-) Oops, Thanks very good information. I'll drop this patch :) -- 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