Thread (11 messages) 11 messages, 3 authors, 2013-09-25

Re: [PATCH] powerpc/kvm: Handle the boundary condition correctly

From: Aneesh Kumar K.V <hidden>
Date: 2013-08-26 03:28:25

Alexander Graf [off-list ref] writes:
On 23.08.2013, at 04:31, Aneesh Kumar K.V wrote:
quoted
Alexander Graf [off-list ref] writes:
quoted
On 22.08.2013, at 12:37, Aneesh Kumar K.V wrote:
quoted
From: "Aneesh Kumar K.V" <redacted>
Isn't this you?
Yes. The patches are generated using git format-patch and sent by
git send-email. That's how it always created patches for me. I am not sure if
there is a config I can change to avoid having From:
quoted
quoted
We should be able to copy upto count bytes
Why?
Without this we end up doing

+    struct kvm_get_htab_buf {
+        struct kvm_get_htab_header header;
+        /*
+         * Older kernel required one extra byte.
+         */
+        unsigned long hpte[3];
+    } hpte_buf;


even though we are only looking for one hpte entry.
Ok, please give me an example with real numbers and why it breaks.
quoted
http://mid.gmane.org/1376995766-16526-4-git-send-email-aneesh.kumar@linux.vnet.ibm.com
Didn't quiet get what you are looking for. As explained before, we now
need to pass an array with array size 3 even though we know we need to
read only 2 entries because kernel doesn't loop correctly.

-aneesh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help