Robert Hancock wrote:
+static void nv_remove_one (struct pci_dev *pdev)
+{
+ struct ata_host *host = dev_get_drvdata(pdev-dev);
+ struct nv_host_priv *hpriv = host-private_data;
+
+ kfree(hpriv);
+ ata_pci_remove_one(pdev);
+}
It is unwise to free the
Calling sg_init_one() with NULL buf causes oops on certain
configurations. Don't initialize sg in ata_exec_internal() if
DMA_NONE and make the function complain if @buf is NULL when dma_dir
isn't DMA_NONE. While at it, fix comment.
The problem is discovered and initial patch was submitted by
Jeff Garzik wrote:
It is unwise to free the struct before the ports are even detached.
Right, theoretically something bad could happen here (though not
likely). Here's a fix. Sorry for attaching with something so trivial,
but Thunderbird isn't very cooperative..
---
The suspend/resume
From: Randy Dunlap [EMAIL PROTECTED]
KVM config items need to be inside a menu structure instead of
dangling off of Device Drivers.
Signed-off-by: Randy Dunlap [EMAIL PROTECTED]
---
drivers/kvm/Kconfig |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
Randy Dunlap wrote:
From: Randy Dunlap [EMAIL PROTECTED]
KVM config items need to be inside a menu structure instead of
dangling off of Device Drivers.
A similar patch (kvm-put-kvm-in-a-new-virtualization-menu.patch) is
already queued in -mm.
Andrew, Randy's patch shouldn't be applied,
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
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
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
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.
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
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
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
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
Comments:
* [oh, everybody will hate me for saying this, but...] to me, kevent
implies an internal kernel subsystem. I would rather call it uevent
or anything else lacking a 'k' prefix.
* I like the absolute timespec (and use of timespec itself)
* more on naming: I think kevent_open
On Sun, 2006-12-10 at 20:02 -0800, Roland Dreier wrote:
I haven't seen any evidence of the corresponding ethernet NIC driver
being merged for 2.6.20 (which is a prerequisite, right).
What's the status of that?
It is on its third or fourth round of review. The last driver posted on
12/7,
Please pull from 'upstream-linus' branch of
master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git
upstream-linus
to receive the following updates:
drivers/net/Kconfig |8 +
drivers/net/chelsio/cxgb2.c | 23 +-
drivers/net/chelsio/sge.c | 115 -
Hi Evgeniy,
I have used kobject_uevent() to notify userspace about some events.
For instance, when memory comsumption reaches a predefined watermark,
a signal is sent to userspace to allow applications to free resources.
But I am not sure if kobject_uevent() is the more appropriate way for
that
Steve Wise wrote:
On Sun, 2006-12-10 at 20:02 -0800, Roland Dreier wrote:
I haven't seen any evidence of the corresponding ethernet NIC driver
being merged for 2.6.20 (which is a prerequisite, right).
What's the status of that?
It is on its third or fourth round of review. The last
Divy Le Ray wrote:
Steve Wise wrote:
On Sun, 2006-12-10 at 20:02 -0800, Roland Dreier wrote:
I haven't seen any evidence of the corresponding ethernet NIC driver
being merged for 2.6.20 (which is a prerequisite, right).
What's the status of that?
It is on its third or fourth round
From: Herbert Xu [EMAIL PROTECTED]
Date: Fri, 1 Dec 2006 15:37:55 +1100
So in general when allocating packets we have two scenarios:
1) The dst is known and fixed, i.e., all datagram protocols. This is
the easy case where the headroom is known exactly beforehand.
2) The dst is unknown or
From: Evgeniy Polyakov [EMAIL PROTECTED]
Date: Tue, 28 Nov 2006 22:22:36 +0300
And, btw, last time I checked, aligned_u64 was not exported to
userspace.
It is in linux/types.h and not protected by __KERNEL__ ifdefs.
Perhaps you mean something else?
-
To unsubscribe from this list: send the
Hi Ivo,
On Thursday 07 December 2006 16:53, Ivo van Doorn wrote:
Hi,
2 - Hardware key that does not control the hardware radio and does
not report anything to userspace
Kind of uninteresting button ;)
And this is the button that rfkill was originally designed for.
On Mon, Dec 11, 2006 at 05:36:44PM -0800, David Miller ([EMAIL PROTECTED])
wrote:
From: Evgeniy Polyakov [EMAIL PROTECTED]
Date: Tue, 28 Nov 2006 22:22:36 +0300
And, btw, last time I checked, aligned_u64 was not exported to
userspace.
It is in linux/types.h and not protected by
On Mon, Dec 11, 2006 at 10:16:30AM -0500, Jeff Garzik ([EMAIL PROTECTED]) wrote:
Comments:
* [oh, everybody will hate me for saying this, but...] to me, kevent
implies an internal kernel subsystem. I would rather call it uevent
or anything else lacking a 'k' prefix.
It is kernel
On Mon, Dec 11, 2006 at 12:32:55PM -0400, Mauricio Lin ([EMAIL PROTECTED])
wrote:
Hi Evgeniy,
Hi Mauricio.
I have used kobject_uevent() to notify userspace about some events.
For instance, when memory comsumption reaches a predefined watermark,
a signal is sent to userspace to allow
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
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
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
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.
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
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
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
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
Hi,
2 - Hardware key that does not control the hardware radio and does
not report anything to userspace
Kind of uninteresting button ;)
And this is the button that rfkill was originally designed for.
Laptops with integrated WiFi cards from Ralink have a hardware button
Darrick J. Wong wrote:
The Quantum GoVault SATAPI removable disk device returns ATA_ERR in
response to a REPORT LUNS packet. If this happens to an ATAPI device
that is attached to a SAS controller (this is the case with sas_ata),
the device does not load because SCSI won't touch a SCSI device
On Mon, 2006-12-11 at 11:24 -0500, Jeff Garzik wrote:
Darrick J. Wong wrote:
The Quantum GoVault SATAPI removable disk device returns ATA_ERR in
response to a REPORT LUNS packet. If this happens to an ATAPI device
that is attached to a SAS controller (this is the case with sas_ata),
the
James Bottomley wrote:
On Mon, 2006-12-11 at 11:24 -0500, Jeff Garzik wrote:
Darrick J. Wong wrote:
The Quantum GoVault SATAPI removable disk device returns ATA_ERR in
response to a REPORT LUNS packet. If this happens to an ATAPI device
that is attached to a SAS controller (this is the case
Updated direct resource pass with ioremap call, make it grant proper IRQ
mapping, stuff incompatible with the new approach were respectively put under
#ifndef CONFIG_PPC_MERGE.
---
drivers/net/fs_enet/mac-fec.c | 13 +
drivers/net/fs_enet/mac-scc.c |6 --
On Mon, 11 Dec 2006 21:00:49 +0300
Vitaly Bordug [EMAIL PROTECTED] wrote:
Updated direct resource pass with ioremap call, make it grant proper IRQ
mapping, stuff incompatible with the new approach were respectively put
under
#ifndef CONFIG_PPC_MERGE.
Hrm, Signed-off-by: missed, I'll
701 - 739 of 739 matches
Mail list logo