Subject: Re: mfs woes
To: Chuck Silvers <chuq@chuq.com>
From: Jonathan Stone <jonathan@dsg.stanford.edu>
List: tech-kern
Date: 07/19/2004 12:53:20
In message <20040717143230.GC11405@spathi.chuq.com>,
Chuck Silvers writes:

[...]

>btw, a brief look at mdconfig shows that it uses exactly the same cute hack
>to provide backing memory for its devices, so it should behave identically
>to mfs with respect to memory usage.  it would be fairly easy to change md
>to have the kernel allocate swap-backed memory directly, which would save
>the context switch currently required to access data in the user-process
>backing-store, but that wouldn't help with the double-memory-usage issue.

What's the overall impact of that for setups using mdsetimage to build
root-in-md setups (e.g., for booting from flash), with no swap?