Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] init_idle and local_irq_save
@ 2004-03-29 16:03 Grant Grundler
  2004-03-29 16:17 ` James Bottomley
  2004-03-29 16:31 ` Matthew Wilcox
  0 siblings, 2 replies; 3+ messages in thread
From: Grant Grundler @ 2004-03-29 16:03 UTC (permalink / raw)
  To: parisc-linux

Hi all,
I'm trying to get 2.6 SMP working on a UP box and was walking
through the init sequence. I have two questions related to init_idle()
in kernel/sched.c:

o local_irq_save()/local_irq_restore are called without an
  obvious local_irq_disable() call in between. Is this really
  needed for some other reason or is the local_irq_disable() missing?

o double_rq_lock() acquires the locks with lowest address first.
  double_rq_unlock() does not release those in the inverse order.
  Is that a problem?
  I'm just nervous since I didn't see the local_irq_disable()
  in init_idle() which would guarantee both unlock's happen atomically.

thanks,
grant

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

end of thread, other threads:[~2004-03-29 16:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-29 16:03 [parisc-linux] init_idle and local_irq_save Grant Grundler
2004-03-29 16:17 ` James Bottomley
2004-03-29 16:31 ` Matthew Wilcox

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