Subject: Re: kernel map entry merging and PR 24039
To: None <matt@3am-software.com>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 02/05/2004 10:06:14
hi,

> I don't think this shouldn't be solved in uvm.  The solution should be in the
> pool allocator itself.  Freeing pages should be deferred until either doing
> a pool_get(PR_WAITOK) or wake up a kthread to do the reclaimation of the
> pages.  Only then can the pool allocator return pages to uvm and then uvm
> can proceed  normally to merge/split/whatever the map entries.

pool_put is not only one which has the assumption.
eg. uvm_km_kmemalloc1, in the case of UVM_KMF_NOWAIT.
and i guess there're more...

YAMAMOTO Takashi