Re: [RFC] /dev/ioasid uAPI proposal

Jason Gunthorpe
2021-06-01T17:31:45Z

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