From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [patch 2/2] fs, proc: Introduce the /proc//map_files/ directory v6 Date: Fri, 2 Sep 2011 01:04:40 +0200 Message-ID: <20110901230440.GA4432@mtj.dyndns.org> References: <20110831075814.003575573@openvz.org> <20110831080229.100652529@openvz.org> <20110831090612.GA3253@albatros> <20110831112642.GI25465@sun> <20110831140416.GA17626@shutemov.name> <20110831142622.GB30615@sun> <20110831151023.5b7e12da.akpm@linux-foundation.org> <20110901104633.GG30615@sun> <20110901154946.b43ba91b.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Cyrill Gorcunov , "Kirill A. Shutemov" , Vasiliy Kulikov , containers@lists.osdl.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Nathan Lynch , Oren Laadan , Daniel Lezcano , Glauber Costa , James Bottomley , Alexey Dobriyan , Al Viro , Pavel Emelyanov To: Andrew Morton Return-path: Received: from mail-yi0-f46.google.com ([209.85.218.46]:39077 "EHLO mail-yi0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932506Ab1IAXEr (ORCPT ); Thu, 1 Sep 2011 19:04:47 -0400 Content-Disposition: inline In-Reply-To: <20110901154946.b43ba91b.akpm@linux-foundation.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, Sep 01, 2011 at 03:49:46PM -0700, Andrew Morton wrote: > The most robust implementation here is to allocate a large number of > small objects - one per vma. A list would be a suitable way of > managing them. Or just use flex_array? -- tejun