Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2002 02:35:49 +0900
From:      Kyunghwan Kim <redjade@ada.snu.ac.kr>
To:        current@freebsd.org
Subject:   mballoc kernel thread
Message-ID:  <20021229173549.GA89604@ada.snu.ac.kr>

next in thread | raw e-mail | index | archive | help
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
redjade@ada.snu.ac.kr

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021229173549.GA89604>