Messages in this thread | | | From | Ian Molton <> | Subject | | Date | Thu, 26 Nov 2009 00:25:25 +0000 |
| |
This patchset updates the hw_random core to use more efficient buffering. As an example, the virtio-rng driver is converted to the new API, which fixes a buffering bug provoked during my work writing a virtio qdev for qemu.
The old API is preserved and all existing drivers should continue to function without change.
Summary: drivers/char/hw_random/core.c | 120 ++++++++++++++++++++++-------------- drivers/char/hw_random/virtio-rng.c | 79 ++++++++--------------- include/linux/hw_random.h | 9 +- 3 files changed, 110 insertions(+), 98 deletions(-)
[PATCH 1/2] hw_random: core updates to allow more efficient drivers [PATCH 2/2] virtio: Convert virtio-rng to the new API
| |