Re: [RFC] /dev/ioasid uAPI proposal
From: Jason Gunthorpe
Date: Tue Jun 01 2021 - 13:31:48 EST
On Tue, Jun 01, 2021 at 04:47:15PM +0800, Jason Wang wrote:
> We can open up to ~0U file descriptors, I don't see why we need to restrict
> it in uAPI.
There are significant problems with such large file descriptor
tables. High FD numbers man things like select don't work at all
anymore and IIRC there are more complications.
A huge number of FDs for typical usages should be avoided.
Jason