Re: more than 2048 unix98 ptys?

From: Mark Frazer (mark@somanetworks.com)
Date: Wed Feb 19 2003 - 15:06:00 EST


Richard B. Johnson <root@chaos.analogic.com> [03/02/19 14:38]:
> Read the comments in .../linux-n.n/include/linux/tty.h and then
> modify NR_PTYS accordingly. You need to add more majors as well.

I was hoping for something like the 32 bit dev_t that I've seen talked
about (but know very little about). I need 16 or 32K ptys. Getting that
many majors does not appear possible.

> Note that ptys are used for interactive terminals, you don't need
> one for every network connection. You may be adding something that
> you don't need and wasting kernel space.

It's for a PPP test client and we need a pty per session.

-- 
OK, but I don't want anyone thinking we're robosexuals. - Bender
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:26 EST