Thread (6 messages) flat view 6 messages, 4 authors, 2017-09-26

Re: [PATCH V2] cxl: Fix memory page not handled

From: Vaibhav Jain <hidden>
Date: 2017-09-26 01:45:05

Hi Christophe,

A minor nitpick

Christophe Lombard [off-list ref] writes:
+	for (dar = (addr & ~(page_size - 1)); dar < (addr + size); dar += page_size) {
+		if (dar < vma->vm_start || dar > vma->vm_end) {
Code comment in mm_types.h for vm_end says it "The first byte after our
end address within vm_mm". So this condition should be
(dar < vma->vm_start || dar >= vma->vm_end)

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