Re: [RFC][PATCH] extable: Make sure all archs define _sdata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Steven Rostedt <rostedt@xxxxxxxxxxx>
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@xxxxxxxxxxx>
> ----
>  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@xxxxxxxxxxxxxx>

Thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux