[BACK]Return to uvm_aobj.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / uvm

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/uvm/uvm_aobj.c between version 1.120.2.1 and 1.121

version 1.120.2.1, 2014/08/10 06:57:00 version 1.121, 2014/05/22 14:01:46
Line 502  uao_create(vsize_t size, int flags)
Line 502  uao_create(vsize_t size, int flags)
  * uao_set_pgfl: allocate pages only from the specified freelist.   * uao_set_pgfl: allocate pages only from the specified freelist.
  *   *
  * => must be called before any pages are allocated for the object.   * => must be called before any pages are allocated for the object.
  * => reset by setting it to VM_NFREELIST, meaning any freelist.  
  */   */
   
 void  void
Line 511  uao_set_pgfl(struct uvm_object *uobj, in
Line 510  uao_set_pgfl(struct uvm_object *uobj, in
         struct uvm_aobj *aobj = (struct uvm_aobj *)uobj;          struct uvm_aobj *aobj = (struct uvm_aobj *)uobj;
   
         KASSERTMSG((0 <= freelist), "invalid freelist %d", freelist);          KASSERTMSG((0 <= freelist), "invalid freelist %d", freelist);
         KASSERTMSG((freelist <= VM_NFREELIST), "invalid freelist %d",          KASSERTMSG((freelist < VM_NFREELIST), "invalid freelist %d", freelist);
             freelist);  
   
         aobj->u_freelist = freelist;          aobj->u_freelist = freelist;
 }  }

Legend:
Removed from v.1.120.2.1  
changed lines
  Added in v.1.121

CVSweb <webmaster@jp.NetBSD.org>