Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261269AbVAaRJw (ORCPT ); Mon, 31 Jan 2005 12:09:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261267AbVAaRJc (ORCPT ); Mon, 31 Jan 2005 12:09:32 -0500 Received: from bay-bridge.veritas.com ([143.127.3.10]:31621 "EHLO MTVMIME03.enterprise.veritas.com") by vger.kernel.org with ESMTP id S261269AbVAaRHH (ORCPT ); Mon, 31 Jan 2005 12:07:07 -0500 Date: Mon, 31 Jan 2005 17:06:29 +0000 (GMT) From: Hugh Dickins X-X-Sender: hugh@goblin.wat.veritas.com To: Nix cc: linux-kernel@vger.kernel.org Subject: Re: 2.6.10: SPARC64 mapped figure goes unsignedly negative... In-Reply-To: <87d5vlwp8k.fsf@amaterasu.srvr.nix> Message-ID: References: <87sm4izw3u.fsf@amaterasu.srvr.nix> <87sm4hwr81.fsf@amaterasu.srvr.nix> <87d5vlwp8k.fsf@amaterasu.srvr.nix> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1463 Lines: 34 On Mon, 31 Jan 2005, Nix wrote: > > Odd: this machine seems to be using swap, albeit not very much (and I've > got the swap priorities upside down, as well; whoops, that's probably > been harming performance for, well, years): > > Filename Type Size Used Priority > /dev/sda2 partition 523016 0 1 > /dev/sda4 partition 511232 57648 2 > /dev/sdb2 partition 523016 0 1 > > Is the problem that the higher-priority kicking out to swap which should > happen when memory is tight, won't? I had thought that it was any kicking out to swap - apart from kicking tmpfs/shmem pages to swap, which should happen independently of Mapped. If you're not using tmpfs or shmem, then I'm surprised by that figure. There was 88 kB out to swap in your original /proc/meminfo, which we may suppose was before Mapped went negative; but above shows more since. > I'll build rmap.c with GCC-3.3 later tonight (if I can find a copy on my > old backups), compare the generated code, and see if anything leaps out > at me. Worth doing, thank you. Rene has sent us the GCC-3.4 output, but I've not spotted anything the matter with it yet. Hugh - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/