I made a mballoc kernel thread that fills up mbufs and mbuf clusters
when number of mbufs/clusters of its general list is under low watermark
along with suggestions that Mr. Milekic has made around late November.

http://redjade.org/doc/patches/mballoc_kproc.diff

It seems useful until and even after kmem_malloc() is out from under Giant.
Would someone please comment upon the diff and questions below?

 - Appropriate watermark check rate
 - How to use mballoc [via wakeup] in mb_alloc() efficiently when it needs
   to allocate a new page
   [Hardest for me to decide because of lack of experience...]
 - M_WAIT or M_NOWAIT in memory allocation of mballoc kproc
 - Strategy for high watermark wash out

Thanks.
-- 
Kyunghwan Kim
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to