Re: Suspend 2 merge: 48/51: Swapwriter
[Posted December 1, 2004 by corbet]
From: |
| Pavel Machek <pavel-AT-ucw.cz> |
To: |
| Nigel Cunningham <ncunningham-AT-linuxmail.org> |
Subject: |
| Re: Suspend 2 merge: 48/51: Swapwriter |
Date: |
| Fri, 26 Nov 2004 00:55:27 +0100 |
Cc: |
| Linux Kernel Mailing List <linux-kernel-AT-vger.kernel.org> |
Hi!
> This is the swapwriter. It is forms the glue between the highlevel I/O
> routines in io.c and the blockwriter routines in block_io.c. It is
> responsible for allocating storage, translating the requests for pages
> within pagesets into devices and blocks and the like. It is abstracted
> from the block writer because the plan is that we'll eventually have a
> generic file writer (ie not using swapspace, but a simple file,
> possibly
This file alone is bigger than whole swsusp1. That strongly suggests
you have too many layers of abstraction in there. Planning for future
is nice, but not at this cost.
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!