From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <9ab217670904161310xc49286dv247689443b6d18e6@mail.gmail.com> References: <9ab217670904161047w56b70b74ke25a0280b0f70cc2@mail.gmail.com> <9ab217670904161310xc49286dv247689443b6d18e6@mail.gmail.com> Date: Thu, 16 Apr 2009 16:19:29 -0400 Message-ID: <9ab217670904161319v50166aebkc54d1f8481c30bb8@mail.gmail.com> From: "Devon H. O'Dell" To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] security questions Topicbox-Message-UUID: de8903f8-ead4-11e9-9d60-3106f5b1d025 > One can indirectly (and more consistently) limit the number of > allocated resources in this fashion (indeed, the number of open file > descriptors) by determining the amount of memory consumed by that > resource as proportional to the size of the resource. If I as a user > have 64,000 allocations of type Foo, and struct Foo is 64 bytes, then > I hold 1,000 Foos. And by this, I clearly mean 64,000 bytes of allocated Foos. --dho