From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750796AbWFFSYI (ORCPT ); Tue, 6 Jun 2006 14:24:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750825AbWFFSYI (ORCPT ); Tue, 6 Jun 2006 14:24:08 -0400 Received: from mtagate2.uk.ibm.com ([195.212.29.135]:13151 "EHLO mtagate2.uk.ibm.com") by vger.kernel.org with ESMTP id S1750796AbWFFSYH (ORCPT ); Tue, 6 Jun 2006 14:24:07 -0400 Subject: Re: 2.6.17-rc5-mm1 From: Martin Schwidefsky Reply-To: schwidefsky@de.ibm.com To: Hugh Dickins Cc: Christoph Lameter , Andrew Morton , mbligh@google.com, apw@shadowen.org, mbligh@mbligh.org, linux-kernel@vger.kernel.org, ak@suse.de In-Reply-To: References: <447DEF49.9070401@google.com> <20060531140652.054e2e45.akpm@osdl.org> <447E093B.7020107@mbligh.org> <20060531144310.7aa0e0ff.akpm@osdl.org> <447E104B.6040007@mbligh.org> <447F1702.3090405@shadowen.org> <44842C01.2050604@shadowen.org> <44848DD2.7010506@shadowen.org> <44848F45.1070205@shadowen.org> <44849075.5070802@google.com> <20060605135812.30138205.akpm@osdl.org> <1149614184.29059.47.camel@localhost> Content-Type: text/plain Organization: IBM Corporation Date: Tue, 06 Jun 2006 20:24:08 +0200 Message-Id: <1149618248.29059.81.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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.