Re: tty cleanup

Rogier Wolff (R.E.Wolff@BitWizard.nl)
Fri, 30 Jun 2000 08:47:20 +0200 (MEST)


willy@vodka.thepuffingroup.com wrote:
> On Fri, Jun 30, 2000 at 12:14:21AM +0200, Rogier Wolff wrote:
> >
> > Theodore Y. Ts'o wrote:
> > > + if (PAGE_SIZE != N_TTY_BUF_SIZE) {
> > > + p = kmalloc(N_TTY_BUF_SIZE, prio);
> >
> > Last I looked (about two or three years ago), kmallocing 4096 bytes on
> > a 8192-byte-page machine would allocate you a full page.
>
> You looked before slab then.

Yep. Looked again. You're right.

Roger.

-- 
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
*       Common sense is the collection of                                *
******  prejudices acquired by age eighteen.   -- Albert Einstein ********

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/