Thread (44 messages) 44 messages, 9 authors, 2012-07-04

Re: [PATCH -mm v2 01/11] mm: track free size between VMAs in VMA rbtree

From: Rik van Riel <hidden>
Date: 2012-06-22 14:26:36
Also in: lkml

On 06/22/2012 10:13 AM, Peter Zijlstra wrote:
On Fri, 2012-06-22 at 10:11 -0400, Rik van Riel wrote:
quoted
I am still trying to wrap my brain around your alternative
search algorithm, not sure if/how it can be combined with
arbitrary address limits and alignment...
for alignment we can do: len += align - 1;
We could, but that might lead us to returning -ENOMEM
when we actually have memory available.

When you consider architectures like HPPA, which use
a pretty large alignment, but align everything the same,
chances are pretty much every freed hole will have the
right alignment...
Will indeed need to ponder the range thing ;-)

-- 
All rights reversed

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help