Re: tty cleanup

Rogier Wolff (R.E.Wolff@BitWizard.nl)
Fri, 30 Jun 2000 00:14:21 +0200 (MEST)


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.

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/