[lkml]   [2002]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] 2.5.8 sort kernel tables
On Thu, 18 Apr 2002 16:52:29 +0100, 
Russell King <> wrote:
>On Fri, Apr 19, 2002 at 01:38:59AM +1000, Keith Owens wrote:
>> For example, arm #defines get8_unaligned_check which uses __ex_table.
>This doesn't cause your issue though. Its only used from code built into
>the kernel .text segment, never from any other segment. It isn't a
>#define in some random header file that may end up in the .init segment

You are missing the point. There are several macros that use
__ex_table. Unless it can be guaranteed that no current or future use
of *any* of those macros will be in an __init section then we must not
assume that the exception table is sorted.

Exception table is not the only one that is assumed to be sorted,
get8_unaligned_check is not the only macro that uses __ex_table. Both
are examples of tables and code where we assume, but do not validate, a
sorted table.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:25    [W:0.029 / U:3.284 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site