From: Jesse B. <jb...@sg...> - 2002-01-22 20:46:42
|
On Mon, Jan 21, 2002 at 01:29:58PM -0800, Janet Morgan wrote: > Mapping discontiguous virtual memory into a single kiobuf is unconventional, > but minimizes the number of pre-allocated buffer heads (1024 per kiobuf). Rohit Seth posted a patch awhile ago to avoid this problem (to lkml I think). > It also avoids some of the logistics involved in using one kiobuf per iovec > (e.g., when should the kiobufs be allocated/freed and should there be a > system-wide limit on the number of kiobufs in use for this purpose). But this approach sounds like a good workaround, since I don't think the aforementioned patch will get into 2.4 (2.5 shouldn't need it). Jesse |