Re: Kernel stack corruption

Richard B. Johnson (root@chaos.analogic.com)
Thu, 4 Feb 1999 14:41:55 -0500 (EST)


On Thu, 4 Feb 1999, Alan Cox wrote:

> The structures I send are 2644 and 1084 bytes, so this is not too big
> I think.

Normally structures are passed by pointer. Even if the structure members
have to be copied (assigned) by the called procedure, it's normally
more efficient. Look how it's done with 'struct termios' in the
serial code. It's really quite efficient.

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.2.1 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.
Wisdom : It's not a Y2K problem. It's a Y2Day problem.

-
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/