Adrian Chadd wrote:
> On 1 October 2011 15:21, Jayachandran C. wrote:
>
>> I would like to understand this, reverting r216862 would take out the
>> critical_enter() and cpu_idleclock() which would keep the timer
>> interrupts coming is as usual, this should not affect the event timer.
>
> I have
Adrian Chadd wrote:
> .. and somehow linux mips code does do a variety of WAIT-y things; how
> is it they don't have the interrupt handling issues we do?
> Is it because they're doing preemption? If so, how do they accurately
> handle hz clock pulses when an interrupt may preempt things just
> befo
.. and somehow linux mips code does do a variety of WAIT-y things; how
is it they don't have the interrupt handling issues we do?
Is it because they're doing preemption? If so, how do they accurately
handle hz clock pulses when an interrupt may preempt things just
before that wait instruction occur
On 1 October 2011 15:21, Jayachandran C. wrote:
> I would like to understand this, reverting r216862 would take out the
> critical_enter() and cpu_idleclock() which would keep the timer
> interrupts coming is as usual, this should not affect the event timer.
Because the fundamental problem still
On Sat, Oct 1, 2011 at 12:39 PM, Adrian Chadd wrote:
> Reverting it unfortunately doesn't help; it messes up the event timer stuff.
I would like to understand this, reverting r216862 would take out the
critical_enter() and cpu_idleclock() which would keep the timer
interrupts coming is as usual,
Reverting it unfortunately doesn't help; it messes up the event timer stuff.
I'd like to see a more permanent solution. What I suggest we do moving
forward is:
* create a function pointer setup, like what i386 does
* override it per-platform and per-chipset, once we know what the
correct behaviou
Hi Adrian,
On Sat, Oct 1, 2011 at 11:26 AM, Adrian Chadd wrote:
> Author: adrian
> Date: Sat Oct 1 05:56:25 2011
> New Revision: 225892
> URL: http://svn.freebsd.org/changeset/base/225892
>
> Log:
> Disable using wait in cpu_idle() until a better solution to timer and
> interrupt handling can
Author: adrian
Date: Sat Oct 1 05:56:25 2011
New Revision: 225892
URL: http://svn.freebsd.org/changeset/base/225892
Log:
Disable using wait in cpu_idle() until a better solution to timer and
interrupt handling can be implemented.
Modified:
head/sys/mips/mips/machdep.c
Modified: head/sys/m