Ingo Molnar a =E9crit :k=20 =20 Hi Ingo I took the time to prepare a patch to implement =20 arch_stack_can_recurse() as you suggested. Thank you [PATCH] x86 : arch_stack_can_recurse() introduction Some paths in kernel would like to chose between on-stack fast recursion = and explicit iterators. One identified spot is in net loopback driver, where we can avoid=20 netif_rx() and its slowdown if sufficient stack space is available. We introduce a generic arch_stack_can_recurse() which default to a weak=20 function returning 0. On x86 arch, we implement following logic : 32 bits and 4K stacks (separate irq stacks) : can use up to 25% of sta= ck 64 bits, 8K stacks (separate irq stacks) : can use up to 25% of sta= ck 32 bits and 8K stacks (no irq stacks) : can use up to 50% of sta= ck Example of use in drivers/net/loopback.c, function loopback_xmit() if (arch_stack_can_recurse()) netif_receive_skb(skb); /* immediate delivery to stack */ else netif_rx(skb); /* defer to softirq handling */ Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
| Thomas Gleixner | Re: Linux 2.6.23-rc9 and a heads-up for the 2.6.24 series.. |
| Karl Meyer | PROBLEM: 2.6.23-rc "NETDEV WATCHDOG: eth0: transmit timed out" |
| Mark Weber | hdparm standby timeout not working for WD raptors? |
| Robin Lee Powell | NFS hang + umount -f: better behaviour requested. |
git: | |
| Adam Roben | Equivalent of `svn switch` for git-svn? |
| Linus Torvalds | Re: On Tabs and Spaces |
| Adam Mercer | git cvsimport error |
| Sam Song | Fwd: [OT] Re: Git via a proxy server? |
| Antti Harri | Re: wine question |
| Paul Pruett | anyone using zoneminder.com on OpenBSD? |
| Josh | Re: removing sendmail |
| Sevan / Venture37 | wpi(4) not working in -CURRENT |
| Bill Day | telnet: Unable to connect to remote host: Network is unreachable |
| Dong Liu | Re: CXterm for LINUX |
| Framstag | ftp-error: bind: Address already in use? |
| Theodore Ts'o | RESULT: comp.os.linux passes: 858: 5 |
| SMDK2410 LCD Framebuffer driver | 5 hours ago | Linux kernel |
| Resetting the bios password for Toshiba Laptop | 5 hours ago | Hardware |
| Problem booting a barebone kernel in VMWare | 8 hours ago | Linux kernel |
| IP layer send packet | 13 hours ago | Linux kernel |
| PID to ELF image full path | 15 hours ago | Linux kernel |
| types of kernel | 1 day ago | Linux kernel |
| magical mounts | 2 days ago | Linux kernel |
| Problem in scim in Fedora 9 | 2 days ago | Linux general |
| The new Western Digital power saving drives | 2 days ago | Hardware |
| Battery Maximizer Software | 3 days ago | Linux kernel |
