Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
13 crawler(s) on-line.
 81 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 Musashi5150:  9 mins ago
 michalsc:  19 mins ago
 Rob:  21 mins ago
 pixie:  28 mins ago
 roar:  1 hr 27 mins ago
 MEGA_RJ_MICAL:  1 hr 35 mins ago
 VooDoo:  1 hr 42 mins ago
 Hammer:  2 hrs 13 mins ago
 Massi:  2 hrs 18 mins ago
 DiscreetFX:  2 hrs 37 mins ago

/  Forum Index
   /  AROS Software
      /  ARPi - AROS on Raspberry Pi
Register To Post

PosterThread
michalsc 
Re: ARPi - AROS on Raspberry Pi
Posted on 28-Aug-2018 7:55:09
#1 ]
AROS Core Developer
Joined: 14-Jun-2005
Posts: 377
From: Germany

@matthey

Quote:
It's missing many details, including turning off preemptive multitasking for the process calling Forbid(), but the main idea is right. It may be better to put the other cores in a low power stopped mode that listens for interrupts (many processors have instructions for this like the 68060 LPSTOP instruction) than the spinlocks if the Permit() IPIs can wake them up.


If you would have a look at AROS code, e.g. here, at kernel_ipi.h, you would notice we are already working on that.

Yes, such Forbid()/Permit() could be done it it would be massive performance loos since you would replace one byte increment (TDNestCnt) by a byte increment followed by full stop on all cores (the Forbidding core sends IPI to all other CPUS, then each CPU has to confirm that it is entering Forbid/Stop state, the forbidding core has to make absolutely all other cores stopped, i.e. wait for all cores to send the IPI back, before it returns to the caller). Permit would be less restricted since there would be no need to wait/send confirmation IPIs.

The problem is, even if you try to replace as much forbid/permit pairs with semaphores, there still will be a plenty of this nasty calls.

 Status: Offline
Profile     Report this post  
 Top | Parent

Replies
SubjectPosterDate
      Re: ARPi - AROS on Raspberry Piwawa28-Aug-2018 13:35:05
      Re: ARPi - AROS on Raspberry Piwawa28-Aug-2018 14:01:26
          Re: ARPi - AROS on Raspberry Piferrels28-Aug-2018 20:34:34
              Re: ARPi - AROS on Raspberry Piterminills28-Aug-2018 21:04:17
              Re: ARPi - AROS on Raspberry Pihth31328-Aug-2018 21:12:54
                  Re: ARPi - AROS on Raspberry Piferrels28-Aug-2018 21:21:06
          Re: ARPi - AROS on Raspberry Pimichalsc5-Sep-2018 9:48:36
              Re: ARPi - AROS on Raspberry Piwawa5-Sep-2018 17:46:32
                  Re: ARPi - AROS on Raspberry Pinikosidis5-Sep-2018 18:19:29
                      Re: ARPi - AROS on Raspberry Piwawa5-Sep-2018 21:11:14
                          Re: ARPi - AROS on Raspberry Piwawa5-Sep-2018 21:17:56
                          Re: ARPi - AROS on Raspberry Pimichalsc5-Sep-2018 21:19:59
      Re: ARPi - AROS on Raspberry Pibison28-Aug-2018 18:31:05
          Re: ARPi - AROS on Raspberry Pimichalsc28-Aug-2018 21:59:52
              Re: ARPi - AROS on Raspberry Pinikosidis29-Aug-2018 12:32:08
              Re: ARPi - AROS on Raspberry Pigregthecanuck29-Aug-2018 13:27:37
                  Re: ARPi - AROS on Raspberry Piterminills29-Aug-2018 16:25:50
                  Re: ARPi - AROS on Raspberry Pimichalsc5-Sep-2018 10:02:13
              Re: ARPi - AROS on Raspberry Pihth31330-Aug-2018 2:26:59
                  Re: ARPi - AROS on Raspberry Pimichalsc30-Aug-2018 6:01:23
                  Re: ARPi - AROS on Raspberry Piwawa30-Aug-2018 9:33:45
                      Re: ARPi - AROS on Raspberry Pinikosidis30-Aug-2018 12:21:59
                      Re: ARPi - AROS on Raspberry Pihth31330-Aug-2018 17:07:25
                          Re: ARPi - AROS on Raspberry PiWumpus30-Aug-2018 17:42:02
                          Re: ARPi - AROS on Raspberry Piwawa30-Aug-2018 20:12:44
                              Re: ARPi - AROS on Raspberry Pihth31330-Aug-2018 23:17:11
      Re: ARPi - AROS on Raspberry Pimatthey29-Aug-2018 17:46:01
          Re: ARPi - AROS on Raspberry Pimichalsc29-Aug-2018 18:25:32
              Re: ARPi - AROS on Raspberry Pimatthey30-Aug-2018 5:25:14
                  Re: ARPi - AROS on Raspberry Pimegol30-Aug-2018 13:14:19
                      Re: ARPi - AROS on Raspberry Pinikosidis30-Aug-2018 16:11:23
                      Re: ARPi - AROS on Raspberry Pimatthey30-Aug-2018 19:25:40
                          Re: ARPi - AROS on Raspberry PiWumpus30-Aug-2018 20:13:04
                              Re: ARPi - AROS on Raspberry Pimichalsc5-Sep-2018 9:41:20
                                  Re: ARPi - AROS on Raspberry PiWumpus5-Sep-2018 16:17:59
                                      Re: ARPi - AROS on Raspberry Pinikosidis5-Sep-2018 16:22:31
                                      Re: ARPi - AROS on Raspberry Pimichalsc5-Sep-2018 17:06:12
                                          Re: ARPi - AROS on Raspberry PiWumpus5-Sep-2018 20:42:56
                                              Re: ARPi - AROS on Raspberry Pimichalsc5-Sep-2018 20:54:43
                                                  Re: ARPi - AROS on Raspberry Pihth3136-Sep-2018 7:10:13
                                                      Re: ARPi - AROS on Raspberry Pimichalsc6-Sep-2018 7:47:05
                                                  Re: ARPi - AROS on Raspberry PiOlafS256-Sep-2018 10:32:59
                                                      Re: ARPi - AROS on Raspberry Piwawa6-Sep-2018 17:52:44
                                                          Re: ARPi - AROS on Raspberry Piterminills18-Sep-2018 12:55:02
                                                              Re: ARPi - AROS on Raspberry Piwawa18-Sep-2018 14:25:11
                                                                  Re: ARPi - AROS on Raspberry Pinikosidis18-Sep-2018 15:21:21
                                                              Re: ARPi - AROS on Raspberry Piterminills19-Oct-2018 12:56:49
                                                                  Re: ARPi - AROS on Raspberry Pinumber619-Oct-2018 14:50:03
                                                                      Re: ARPi - AROS on Raspberry Piwawa19-Oct-2018 16:58:30
                                                                  Re: ARPi - AROS on Raspberry PiOlafS2519-Oct-2018 17:00:10
                                                                  Re: ARPi - AROS on Raspberry Piterminills9-Nov-2018 11:00:45
                                  Re: ARPi - AROS on Raspberry Pimatthey5-Sep-2018 20:22:59
                                      Re: ARPi - AROS on Raspberry Pimichalsc5-Sep-2018 20:38:30
                                          Re: ARPi - AROS on Raspberry Pibison5-Sep-2018 21:03:09
                                          Re: ARPi - AROS on Raspberry Pimatthey5-Sep-2018 21:28:52
                                              Re: ARPi - AROS on Raspberry Pimichalsc5-Sep-2018 21:40:24



[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle