]> git.baikalelectronics.ru Git - kernel.git/commit
[NETPOLL]: pre-fill skb pool
authorIngo Molnar <mingo@elte.hu>
Fri, 12 Aug 2005 02:26:42 +0000 (19:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Aug 2005 02:26:42 +0000 (19:26 -0700)
commitb3a68d909bd4e1131fbc700f5165ed50d4b3a72e
treedff28a2168431921a607062f56faebe9fd1b0fd0
parent76fba1077a71be0bf7b55a54be8d69f0bfe23dd4
[NETPOLL]: pre-fill skb pool

we could do one thing (see the patch below): i think it would be useful
to fill up the netlogging skb queue straight at initialization time.
Especially if netpoll is used for dumping alone, the system might not be
in a situation to fill up the queue at the point of crash, so better be
a bit more prepared and keep the pipeline filled.

[ I've modified this to be called earlier - mpm ]

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netpoll.c