Re: CONFIG_BIGMEM and rawio

Andrea Arcangeli (andrea@suse.de)
Fri, 3 Sep 1999 15:41:23 +0200 (CEST)


On Fri, 3 Sep 1999, Stephen C. Tweedie wrote:

>It _is_ short. It is doing the same job that the swap code does. The

With the difference that the swap code doesn't impact the I/O read/write
performances at all, and outside bigmem.c it's been a two liner change.

If your object is to put the bounce-buffer in ll_rw_block and to allow the
bigmemory to go into the page-cache IMHO you'll slowdown the system too
much. The buffer copies trashes the CPU cache. I thought to do that too (I
think I also mentioned that in one of my first emails about bigmem).

Supposing you can deal with the slowdown, for the filesystem read and
writes you don't have a buffer alone, but you have the page-cache, so in
ll_rw_block you can't simply duplicate a buffer and invalidate the old one
since the new buffer must live in the place of the old buffer. So you'll
have to play with the pagecache too and not only with ll_rw_block.

Andrea

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/