[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87y7896ylv.fsf@basil.nowhere.org>
Date: 23 Mar 2008 20:15:24 +0100
From: Andi Kleen <andi@...stfloor.org>
To: Eric Dumazet <dada1@...mosbay.com>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [RFC,PATCH] loopback: calls netif_receive_skb() instead of netif_rx()
Eric Dumazet <dada1@...mosbay.com> writes:
>
> What we call 4K stacks is in fact 4K - sizeof(struct task_struct), so
Actually it is 4K - sizeof(struct thread_struct).
> a litle bit more than 2K. (not counting some insane configuration were
> struct task_struct take 3.5 KB, see CONFIG_LATENCYTOP for an example)
thread_struct significantly smaller than task_struct
That said I agree that 4K stack is too tight for many things
and in general dangerous.
-Andi
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists