lkml.org 
[lkml]   [2011]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] extable: Make sure all archs define _sdata
From: Steven Rostedt <rostedt@goodmis.org>
Subject: [RFC][PATCH] extable: Make sure all archs define _sdata
Date: Thu, 19 May 2011 21:34:58 -0400
> Can I get an Acked-by (or comment) from the following Maintainers:
>
> alpha
> m32r
> m68k
> mips
> parisc
>
> Ingo has discovered that one of my patches broke the builds of these
> architectures. Although he added a quick fix, this patch supplies the
> proper fix and touches the affected architectures. Please review and Ack
> (or NACK with guidance) this patch.
>
> -- Steve
>
> A new utility function is used to determine if a passed in address is
> part of core kernel data or not. It may or may not return true for RO
> data, but this utility must work for RW data. Thus both _sdata and
> _edata must be defined and continuous, without .init sections that may
> later be freed and replaced by volatile memory (memory that can be
> freed).
>
> This utility function is used to determine if data is safe from ever
> being freed. Thus it should return true for all RW global data that is
> not in a module or has been allocated, or false otherwise.
>
> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
> ----
> arch/alpha/kernel/vmlinux.lds.S | 1 +
> arch/m32r/kernel/vmlinux.lds.S | 1 +
> arch/m68k/kernel/vmlinux-std.lds | 2 ++
> arch/m68k/kernel/vmlinux-sun3.lds | 1 +
> arch/mips/kernel/vmlinux.lds.S | 1 +
> arch/parisc/kernel/vmlinux.lds.S | 3 +++
> kernel/extable.c | 12 +++++++++++-
> 7 files changed, 20 insertions(+), 1 deletion(-)

Acked-by: Hirokazu Takata <takata@linux-m32r.org>

Thank you.


\
 
 \ /
  Last update: 2011-05-20 08:51    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site