Author: alc
Date: Sun Jan 18 19:37:36 2009
New Revision: 187407
URL: http://svn.freebsd.org/changeset/base/187407

Log:
  MFC rev 180598
    Eliminate stale comments from kmem_malloc().

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/dev/ath/ath_hal/   (props changed)
  stable/7/sys/dev/cxgb/   (props changed)
  stable/7/sys/vm/vm_kern.c

Modified: stable/7/sys/vm/vm_kern.c
==============================================================================
--- stable/7/sys/vm/vm_kern.c   Sun Jan 18 19:33:55 2009        (r187406)
+++ stable/7/sys/vm/vm_kern.c   Sun Jan 18 19:37:36 2009        (r187407)
@@ -267,9 +267,6 @@ kmem_suballoc(parent, min, max, size)
  *     We don't worry about expanding the map (adding entries) since entries
  *     for wired maps are statically allocated.
  *
- *     NOTE:  This routine is not supposed to block if M_NOWAIT is set, but
- *     I have not verified that it actually does not block.
- *
  *     `map' is ONLY allowed to be kmem_map or one of the mbuf submaps to
  *     which we never free.
  */
@@ -321,15 +318,6 @@ kmem_malloc(map, size, flags)
        vm_map_insert(map, kmem_object, offset, addr, addr + size,
                VM_PROT_ALL, VM_PROT_ALL, 0);
 
-       /*
-        * Note: if M_NOWAIT specified alone, allocate from 
-        * interrupt-safe queues only (just the free list).  If 
-        * M_USE_RESERVE is also specified, we can also
-        * allocate from the cache.  Neither of the latter two
-        * flags may be specified from an interrupt since interrupts
-        * are not allowed to mess with the cache queue.
-        */
-
        if ((flags & (M_NOWAIT|M_USE_RESERVE)) == M_NOWAIT)
                pflags = VM_ALLOC_INTERRUPT | VM_ALLOC_WIRED;
        else
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to