Re: 2.6.17-rc5-mm1

From: Martin Schwidefsky
Date: Tue Jun 06 2006 - 14:23:03 EST


On Tue, 2006-06-06 at 19:21 +0100, Hugh Dickins wrote:
> > Note that there is still another similar check in there for an arch
> > specific test of the number of pages available per swap device.
>
> And that check, also Martin's I believe, has very good justification:
> it will vary from arch to arch how big a swap area they can handle, and
> his check is the right way to do it - no more obscure than it has to be.

Yes, I added that fix since we managed to crash s390 with a swap disk
bigger than 4GB. To keep the symmetry I changed the check for the swap
type as well.

--
blue skies,
Martin.

Martin Schwidefsky
Linux for zSeries Development & Services
IBM Deutschland Entwicklung GmbH

"Reality continues to ruin my life." - Calvin.


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