lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANN689HTeEKGU=tdm-bfsCT5yttL7qGL827zV1XfEe007UE18A@mail.gmail.com>
Date:	Mon, 2 Jul 2012 17:23:10 -0700
From:	Michel Lespinasse <walken@...gle.com>
To:	Rik van Riel <riel@...riel.com>
Cc:	linux-mm@...ck.org, akpm@...ux-foundation.org, aarcange@...hat.com,
	peterz@...radead.org, minchan@...il.com, kosaki.motohiro@...il.com,
	andi@...stfloor.org, hannes@...xchg.org, mel@....ul.ie,
	linux-kernel@...r.kernel.org, Rik van Riel <riel@...hat.com>
Subject: Re: [PATCH -mm v2 05/11] mm: get unmapped area from VMA tree

On Fri, Jun 29, 2012 at 6:33 PM, Michel Lespinasse <walken@...gle.com> wrote:
>                 if (!found_here) {      // or if(!addr) or whatever
>                         struct rb_node *rb_prev = NULL;
>                         do {
>                                 if (rb_node != rb_prev &&

Gah, that last line was meant to be if (rb_node->rb_right != rb_prev &&

>                                     node_free_gap(rb_node->rb_right) >= len) {
>                                         rb_node = rb_node->rb_right;
>                                         break;
>                                 }
>                                 rb_prev = rb_node;
>                                 rb_node = rb_parent(rb_node);
>                         } while (rb_node);
>                         continue;
>                 }

-- 
Michel "Walken" Lespinasse
A program is never fully debugged until the last user dies.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ