<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 2013-Apr-2 17:37 , Artyom Tarasenko
wrote:<br>
</div>
<blockquote
cite="mid:CACXAS8A-DDLde-2JFQZsRstA47zP-7w59bP_szwKBVOsp-g=PQ@mail.gmail.com"
type="cite">
<blockquote type="cite" style="color: #990000;">
<pre wrap=""><span class="moz-txt-citetags">> </span>to:
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>virt = ofmem_claim_virt(pointer2cell(va), size, align);
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>Does that fix the bug for you?
<span class="moz-txt-citetags">></span>
</pre>
</blockquote>
<pre wrap="">At least, it seems to die some instructions later, thanks! Will debug more.
Does it mean that obp_memalloc is actually using the first argument
just as a hint? As the OpenSolaris header suggests?
</pre>
</blockquote>
<br>
Per IEEE 1275, 6.3.2.4, the <i>claim</i> method is supposed to
entirely ignore the virtual address if you provide an alignment.
With a non-zero alignment, it's supposed to allocate from a pool of
its own address space.<br>
<br>
</body>
</html>