Re: [PATCH] regression: vmalloc easily fail.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Avi Kivity
Date: Tuesday, October 28, 2008 - 2:03 pm

Glauber Costa wrote:

I'm guessing that the missing comment explains that this is intentional, 
to trap buffer overflows?

(okay that was a cheap shot.  I don't comment nearly enough either)

Even if you leave a page between allocations, I don't see how you can 
fail a one page allocation, unless you've allocated at least N/2 pages 
(where N is the size of the vmalloc space in pages).

-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] regression: vmalloc easily fail., Avi Kivity, (Tue Oct 28, 2:03 pm)
Re: [PATCH] regression: vmalloc easily fail., Glauber Costa, (Tue Oct 28, 2:09 pm)
Re: [PATCH] regression: vmalloc easily fail., Roland Dreier, (Tue Oct 28, 2:22 pm)
Re: [PATCH] regression: vmalloc easily fail., Matias Zabaljauregui, (Tue Oct 28, 2:22 pm)
Re: [PATCH] regression: vmalloc easily fail., Arjan van de Ven, (Tue Oct 28, 2:42 pm)
Re: [PATCH] regression: vmalloc easily fail., Roland Dreier, (Tue Oct 28, 3:03 pm)
[PATCH] regression: vmalloc easily fail., Glauber Costa, (Tue Oct 28, 3:55 pm)
Re: [PATCH] regression: vmalloc easily fail., Nick Piggin, (Tue Oct 28, 4:29 pm)
Re: [PATCH] regression: vmalloc easily fail., Avi Kivity, (Tue Oct 28, 11:28 pm)
Re: [PATCH] regression: vmalloc easily fail., Glauber Costa, (Wed Oct 29, 2:48 am)
Re: [PATCH] regression: vmalloc easily fail., Nick Piggin, (Wed Oct 29, 3:11 am)
Re: [PATCH] regression: vmalloc easily fail., Avi Kivity, (Wed Oct 29, 3:29 am)
Re: [PATCH] regression: vmalloc easily fail., Nick Piggin, (Wed Oct 29, 3:43 am)
Re: [PATCH] regression: vmalloc easily fail., Glauber Costa, (Wed Oct 29, 3:07 pm)
Re: [PATCH] regression: vmalloc easily fail., Nick Piggin, (Wed Oct 29, 6:53 pm)
Re: [PATCH] regression: vmalloc easily fail., Nick Piggin, (Wed Oct 29, 9:49 pm)
Re: [PATCH] regression: vmalloc easily fail., Glauber Costa, (Thu Oct 30, 4:28 am)
Re: [PATCH] regression: vmalloc easily fail., Matt Mackall, (Thu Oct 30, 9:46 am)
Re: [PATCH] regression: vmalloc easily fail., Glauber Costa, (Thu Oct 30, 11:04 am)
Re: [PATCH] regression: vmalloc easily fail., Nick Piggin, (Thu Oct 30, 7:59 pm)
Re: [PATCH] regression: vmalloc easily fail., Nick Piggin, (Fri Oct 31, 12:16 am)
Re: [PATCH] regression: vmalloc easily fail., Glauber Costa, (Tue Nov 4, 10:51 am)
Re: [PATCH] regression: vmalloc easily fail., Glauber Costa, (Tue Nov 4, 5:21 pm)
Re: [PATCH] regression: vmalloc easily fail., Glauber Costa, (Fri Nov 7, 1:37 pm)