[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A5C5A59.5080304@fisher-privat.net>
Date: Tue, 14 Jul 2009 12:13:45 +0200
From: Alexey Fisher <bug-track@...her-privat.net>
To: Catalin Marinas <catalin.marinas@....com>
CC: Pekka Enberg <penberg@...helsinki.fi>,
Kernel Testers List <kernel-testers@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Sam Ravnborg <sam@...nborg.org>, Ingo Molnar <mingo@...e.hu>,
x86@...nel.org
Subject: Re: [PATCH] x86: _edata should include all .data.* sections on X86_64
With this patch i have only 25 reports....
but i still have a lot of ext4 and some other reports.
Catalin Marinas schrieb:
> The .data.read_mostly and .data.cacheline_aligned sections aren't
> covered by the _sdata .. _edata range on X86_64. This affects the
> kmemleak reporting leading to possible false positives by not scanning
> all the whole data section.
>
> Signed-off-by: Catalin Marinas <catalin.marinas@....com>
> Cc: Sam Ravnborg <sam@...nborg.org>
> Cc: Ingo Molnar <mingo@...e.hu>
> ---
>
> (I re-posted this patch with comments and cc'ing the relevant people)
>
> arch/x86/kernel/vmlinux.lds.S | 7 -------
> 1 files changed, 0 insertions(+), 7 deletions(-)
>
> diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S
> index 367e878..59f31d2 100644
> --- a/arch/x86/kernel/vmlinux.lds.S
> +++ b/arch/x86/kernel/vmlinux.lds.S
> @@ -112,11 +112,6 @@ SECTIONS
> _sdata = .;
> DATA_DATA
> CONSTRUCTORS
> -
> -#ifdef CONFIG_X86_64
> - /* End of data section */
> - _edata = .;
> -#endif
> } :data
>
> #ifdef CONFIG_X86_32
> @@ -156,10 +151,8 @@ SECTIONS
> .data.read_mostly : AT(ADDR(.data.read_mostly) - LOAD_OFFSET) {
> *(.data.read_mostly)
>
> -#ifdef CONFIG_X86_32
> /* End of data section */
> _edata = .;
> -#endif
> }
>
> #ifdef CONFIG_X86_64
>
--
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