it seems that ifb counts packets twice... both at xmit time and also in
the tasklet. i'm not sure which one of the two to drop, but here's a
patch for dropping the counting at xmit time.
patch against 2.6.20-rc1.
-dean
Signed-off-by: dean gaudet [EMAIL PROTECTED]
Index:
On Sat, 2006-23-12 at 02:35 -0800, dean gaudet wrote:
it seems that ifb counts packets twice... both at xmit time and also in
the tasklet. i'm not sure which one of the two to drop, but here's a
patch for dropping the counting at xmit time.
Good catch but not quite right. The correct way to
Hi,
On Friday, 22 December 2006 18:30, Larry Finger wrote:
I'm trying to make the bcm43xx driver out of the 2.6.20-rc1-mm1 kernel work on
an HPC nx6325, with no luck, so far, although I'm using a firmware that has
been reported to work with these boxes
Please pull from tag 'r8169-upstream-20061223-00' in repository
git://electric-eye.fr.zoreil.com/home/romieu/linux-2.6.git tag
r8169-upstream-20061223-00
to get the changes below.
PS: the same changes are available in branch 'r8169' which forked from
the main trunk
Pipe notifications.
diff --git a/fs/pipe.c b/fs/pipe.c
index f3b6f71..aeaee9c 100644
--- a/fs/pipe.c
+++ b/fs/pipe.c
@@ -16,6 +16,7 @@
#include linux/uio.h
#include linux/highmem.h
#include linux/pagemap.h
+#include linux/kevent.h
#include asm/uaccess.h
#include asm/ioctls.h
@@ -312,6
Timer notifications.
Timer notifications can be used for fine grained per-process time
management, since interval timers are very inconvenient to use,
and they are limited.
This subsystem uses high-resolution timers.
id.raw[0] is used as number of seconds
id.raw[1] is used as number of
Signal notifications.
This type of notifications allows to deliver signals through kevent queue.
One can find example application signal.c on project homepage.
If KEVENT_SIGNAL_NOMASK bit is set in raw_u64 id then signal will be
delivered only through queue, otherwise both delivery types are
Socket notifications.
This patch includes socket send/recv/accept notifications.
Using trivial web server based on kevent and this features
instead of epoll it's performance increased more than noticebly.
More details about various benchmarks and server itself
(evserver_kevent.c) can be found
poll/select() notifications.
This patch includes generic poll/select notifications.
kevent_poll works simialr to epoll and has the same issues (callback
is invoked not from internal state machine of the caller, but through
process awake, a lot of allocations and so on).
Signed-off-by: Evgeniy
Description.
diff --git a/Documentation/kevent.txt b/Documentation/kevent.txt
new file mode 100644
index 000..2e03a3f
--- /dev/null
+++ b/Documentation/kevent.txt
@@ -0,0 +1,240 @@
+Description.
+
+int kevent_init(struct kevent_ring *ring, unsigned int ring_size,
+ unsigned int
Kevent posix timer notifications.
Simple extensions to POSIX timers which allows
to deliver notification of the timer expiration
through kevent queue.
Example application posix_timer.c can be found
in archive on project homepage.
Signed-off-by: Evgeniy Polyakov [EMAIL PROTECTED]
diff --git
Generic event handling mechanism.
Kevent is a generic subsytem which allows to handle event notifications.
It supports both level and edge triggered events. It is similar to
poll/epoll in some cases, but it is more scalable, it is faster and
allows to work with essentially eny kind of events.
On Sat, Dec 23, 2006 at 07:51:40PM +0300, Evgeniy Polyakov ([EMAIL PROTECTED])
wrote:
Generic event handling mechanism.
Kevent is a generic subsytem which allows to handle event notifications.
It supports both level and edge triggered events. It is similar to
poll/epoll in some cases, but
From: Vitaly Wool [EMAIL PROTECTED]
Fix compilation failure for smc911x.c when NET_POLL_CONTROLLER is set.
Signed-off-by: Vitaly Wool [EMAIL PROTECTED]
---
Is not upstream and doesn't seem to be in upstream-fixes either.
--- a/drivers/net/smc911x.c
+++ b/drivers/net/smc911x.c
@@ -1331,7 +1331,7
Chuck Ebbert wrote:
From: Vitaly Wool [EMAIL PROTECTED]
Fix compilation failure for smc911x.c when NET_POLL_CONTROLLER is set.
Signed-off-by: Vitaly Wool [EMAIL PROTECTED]
---
Is not upstream and doesn't seem to be in upstream-fixes either.
It's in Linus's upstream. netdev-2.6.git#upstream
On Sat, 23 Dec 2006, jamal wrote:
On Sat, 2006-23-12 at 02:35 -0800, dean gaudet wrote:
it seems that ifb counts packets twice... both at xmit time and also in
the tasklet. i'm not sure which one of the two to drop, but here's a
patch for dropping the counting at xmit time.
Good
On Fri, 22 Dec 2006 21:14:36 +0900 Keiichi KII wrote:
From: Keiichi KII [EMAIL PROTECTED]
---
[changes]
1. expand macro code as far as possible.
2. follow kernel coding style.
3. print proper output messeage.
4. attach proper label for printk.
5. integrate netpoll_lock and
17 matches
Mail list logo