Re: alloc_tty_struct() question.

2000-11-23 Thread Andi Kleen
On Thu, Nov 23, 2000 at 06:54:48PM +, Tigran Aivazian wrote: > Hi, > > The sizeof(struct tty_struct) = 3084. Why don't we have a private slab > cache for it instead of getting a page and wasting some precious bytes at > the end? Potentially, we can have thousands of tty_struct allocated > (as

Re: alloc_tty_struct() question.

2000-11-23 Thread Matti Aarnio
On Thu, Nov 23, 2000 at 06:54:48PM +, Tigran Aivazian wrote: > Hi, > > The sizeof(struct tty_struct) = 3084. Why don't we have a private slab > cache for it instead of getting a page and wasting some precious bytes at > the end? Potentially, we can have thousands of tty_struct allocated > (as