[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080627144329.GA7634@osiris.ibm.com>
Date: Fri, 27 Jun 2008 16:43:30 +0200
From: Heiko Carstens <heiko.carstens@...ibm.com>
To: Johannes Weiner <hannes@...urebad.de>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org
Subject: Re: [PATCH 02/20] mm: generic show_mem()
> +#ifdef CONFIG_HAVE_GENERIC_SHOW_MEM
> +void show_mem(void)
> +{
> + pg_data_t *pgdat;
> + int total = 0, reserved = 0, shared = 0, nonshared = 0, highmem = 0;
All of these should be unsigned long. Might overflow on very large
configurations otherwise.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists