aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_cpupri.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-06-12 22:27:04 -0600
committerRusty Russell <rusty@rustcorp.com.au>2009-06-12 22:27:05 +0930
commite606490c440900e50ccf73a54f6fc6150ff40815 (patch)
tree43a660399ee81b3926789bd1644513e83c605d50 /kernel/sched_cpupri.c
parentf086122bb6e885f926f935b1418fca3b293375f0 (diff)
downloadkernel_replicant_linux-e606490c440900e50ccf73a54f6fc6150ff40815.tar.gz
kernel_replicant_linux-e606490c440900e50ccf73a54f6fc6150ff40815.tar.bz2
kernel_replicant_linux-e606490c440900e50ccf73a54f6fc6150ff40815.zip
lguest: clean up length-used value in example launcher
The "len" field in the used ring for virtio indicates the number of bytes *written* to the buffer. This means the guest doesn't have to zero the buffers in advance as it always knows the used length. Erroneously, the console and network example code puts the length *read* into that field. The guest ignores it, but it's wrong. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/sched_cpupri.c')
0 files changed, 0 insertions, 0 deletions