lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080811012347.GA27264@infradead.org>
Date:	Sun, 10 Aug 2008 21:23:47 -0400
From:	Christoph Hellwig <hch@...radead.org>
To:	Keith Packard <keithp@...thp.com>
Cc:	Christoph Hellwig <hch@...radead.org>,
	Eric Anholt <eric@...olt.net>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Export shmem_file_setup and shmem_getpage for DRM-GEM

On Fri, Aug 01, 2008 at 04:01:58PM -0700, Keith Packard wrote:
> On Fri, 2008-08-01 at 16:50 -0400, Christoph Hellwig wrote:
> 
> > Nope.  Let the userspace protion create a file in shmfs instead of
> > adding fugly kernel interfaces hdiing this fact.
> 
> I can't create that many files; I need thousands of them.

shmfs is perfectly happy to have thousands of files, there are workloads
that have a lot more than that.  Note that in other subthreads there is
the assumption that all of them are open and in the fd table at the same
time.  I haven't really seen a good explanation for that - objects on
shmfs are persistant until deleted, and when you keep your parent
directory fd open an openat to get at the actual object is cheap.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ