Re: [PATCH 1/2] hw_random: core updates to allow more efficient drivers

From: Jeff Garzik
Date: Wed Nov 25 2009 - 22:13:13 EST


On 11/25/2009 07:25 PM, Ian Molton wrote:
This patch implements a new method by which hw_random hardware drivers
can pass data to the core more efficiently, using a shared buffer.

The old methods have been retained as a compatability layer until all the
drivers have been updated.

Signed-off-by: Ian Molton<ian.molton@xxxxxxxxxxxxxxx>
---
drivers/char/hw_random/core.c | 120 ++++++++++++++++++++++++++---------------
include/linux/hw_random.h | 9 ++-
2 files changed, 82 insertions(+), 47 deletions(-)

Speaking as the original hw_random author... very nice! We have needed a more efficient API for years.

Jeff


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/