summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorSjur Brændeland <sjur.brandeland@stericsson.com>2012-10-15 09:57:34 +0200
committerRusty Russell <rusty@rustcorp.com.au>2012-12-18 15:20:39 +1030
commit0127f6855e643c6b8fd5fbe3b5fa23c9d26cd237 (patch)
tree3f4d424926d3cceb7f70d62a79d25fc8e85d4fea /drivers/virtio
parentfe5295374ec9ac56ba3b619c5c1792b3fd66d859 (diff)
downloadlinux-0127f6855e643c6b8fd5fbe3b5fa23c9d26cd237.tar.gz
linux-0127f6855e643c6b8fd5fbe3b5fa23c9d26cd237.tar.bz2
linux-0127f6855e643c6b8fd5fbe3b5fa23c9d26cd237.zip
virtio_console: Use kmalloc instead of kzalloc
Avoid the more cpu expensive kzalloc when allocating buffers. Originally kzalloc was intended for isolating the guest from the host by not sending random guest data to the host. But device isolation is not yet in place so kzalloc is not really needed. Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions