1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-23 07:31:31 +00:00

Eliminate stale comments from kmem_malloc().

This commit is contained in:
Alan Cox 2008-07-18 17:41:31 +00:00
parent 068d36032a
commit fb272dc841
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=180598

View File

@ -261,9 +261,6 @@ kmem_suballoc(vm_map_t parent, vm_offset_t *min, vm_offset_t *max,
* 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.
*/
@ -315,15 +312,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