Re: Questions about kmem_malloc and SPL levels

2000-06-27 Thread Bosko Milekic
On Wed, 28 Jun 2000, Bruce Evans wrote: > > The first part will be news to the folks running SMP. :-) The business > > about splhigh is also wrong. But what worries me is that malloc calls > > it at splmem, while m_clalloc calls it at splimp. Is that a problem? > > malloc() calls it on kmem_m

Re: Questions about kmem_malloc and SPL levels

2000-06-27 Thread Bruce Evans
On Tue, 27 Jun 2000, John Polstra G wrote: > The comment leading into kmem_malloc (in sys/vm/vm_kern.c) is > worrying me: > > * This routine has its own private kernel submap (kmem_map) and object > * (kmem_object). This, combined with the fact that only malloc uses > * this r

Re: Questions about kmem_malloc and SPL levels

2000-06-27 Thread Alfred Perlstein
* John Polstra G <[EMAIL PROTECTED]> [000627 10:38] wrote: > The comment leading into kmem_malloc (in sys/vm/vm_kern.c) is > worrying me: > > * This routine has its own private kernel submap (kmem_map) and object > * (kmem_object). This, combined with the fact that only malloc uses >

Questions about kmem_malloc and SPL levels

2000-06-27 Thread John Polstra G
The comment leading into kmem_malloc (in sys/vm/vm_kern.c) is worrying me: * This routine has its own private kernel submap (kmem_map) and object * (kmem_object). This, combined with the fact that only malloc uses * this routine, ensures that we will never block in map or objec