[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fmvbkb$jmb$1@ger.gmane.org>
Date: Sun, 20 Jan 2008 12:34:49 +0100
From: Helge Deller <deller@....de>
To: linux-kernel@...r.kernel.org
Subject: Re: [patch 1/3] LatencyTOP infrastructure patch
Arjan van de Ven wrote:
> [linux-2.6.24-rc7/include/linux/latencytop.h]
> +struct latency_entry {
> + char *reason;
>...
> +struct latency_record {
> + char *reason;
>...
> +struct latency_entry *set_latency_reason(char *reason,
>...
I'd propose to mark the "reason" entries above (and the others as well)
as "const char *", which would move the strings to the ro-data section.
Helge
--
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