# RE: \[PATCH\] fs/select: add vmalloc fallback for select(2)

- From: David Laight \<hidden\>
- Date: 2016-09-28 16:30:16 
- List: netdev
- Page: https://ratatoskr.run/netdev/2016/09/111663
- Thread: https://ratatoskr.run/linux-fsdevel/2016/09/111692/t.md

```text
From: Vlastimil Babka
> Sent: 27 September 2016 12:51
...
> Process name suggests it's part of db2 database. It seems it has to implement
> its own interface to select() syscall, because glibc itself seems to have a
> FD_SETSIZE limit of 1024, which is probably why this wasn't an issue for all the
> years...

ISTR the canonical way to increase the size being to set FD_SETSIZE
to a larger value before including any of the headers.

Or doesn't that work with linux and glibc ??

	David

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
```
