Linux MIPS Architecture development
 help / color / mirror / Atom feed
* DBE table ordering
@ 2002-04-17 22:21 Mark Huang
  2002-04-18  3:55 ` Keith Owens
  0 siblings, 1 reply; 12+ messages in thread
From: Mark Huang @ 2002-04-17 22:21 UTC (permalink / raw)
  To: 'linux-mips@oss.sgi.com'

search_one_table() in arch/mips/kernel/traps.c does a binary search for the
erring instruction address in the DBE table. What guarantee is there that
the table is in order by instruction address? It looks like the code hasn't
changed in a long time and it has worked for me since at least 2.4.3.
However, a top of tree (2.5.1) kernel crashes on me as soon as a get_dbe()
fails, because the table is out of order at link time---possibly run time if
there's some code that I missed that is reordering the table at __init. Any
ideas?

Thanks in advance,

--Mark

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2002-04-19 12:18 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-17 22:21 DBE table ordering Mark Huang
2002-04-18  3:55 ` Keith Owens
2002-04-18  6:39   ` Mark Huang
2002-04-18  6:39     ` Mark Huang
2002-04-18  6:51     ` Keith Owens
2002-04-18  6:51       ` Keith Owens
2002-04-18  9:37       ` Gleb O. Raiko
2002-04-18  9:49         ` Keith Owens
2002-04-18 12:03           ` Gleb O. Raiko
2002-04-18 17:59             ` Maciej W. Rozycki
2002-04-19  8:28               ` Gleb O. Raiko
2002-04-19 12:19                 ` Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox