Re: X much slower in 2.0.24 than in 1.2.13

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 4 Nov 1996 21:13:17 +0000 (GMT)


> | Interesting. These only change the size of some fields. It may be a field
> | size issue. Note that you dont want to run with that sock.h patch reversed
> | as it lets people crash your machine..
>
> The 2.0.24 changes to "struct sock" in "linux/include/net/sock.h" push
> its size, in my kernel, up to 0x1fc. This new size, plus the
> "kmalloc"'s "block_header" is just big enough to push "struct sock"
> allocations to the next allocation order.

We hardly ever allocate a struct sock

Alan