Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Oct 2011 13:49:23 +0300
From:      Alexander Motin <mav@FreeBSD.org>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        "Jayachandran C." <jchandra@freebsd.org>, svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r225892 - head/sys/mips/mips
Message-ID:  <4E86F033.9040305@FreeBSD.org>
In-Reply-To: <CAJ-Vmomsq5PQzbCBmWob5juB9EqdcEoYV%2B9vwYjnJQYTo_%2B4kw@mail.gmail.com>
References:  <201110010556.p915uQH6003016@svn.freebsd.org>	<CA%2B7sy7BiRvTB79H9=y%2BS4jQ=%2BboW1bcDJn%2BBULMmJU9KLLVJ5A@mail.gmail.com>	<CAJ-VmokAsDpjJLt%2BVJ2gDGX%2BiMAwZvL2TPaaAD_LRm-Yyquxig@mail.gmail.com>	<CA%2B7sy7D6h5a08Q6yNfX6xSqwabDLzE5GLu5aV3fCMYQKn_4AoQ@mail.gmail.com>	<CAJ-Vmon32cVEVvC=3WJVmDkCUdyLWyec3sqU-ifzspVSPxedfg@mail.gmail.com> <CAJ-Vmomsq5PQzbCBmWob5juB9EqdcEoYV%2B9vwYjnJQYTo_%2B4kw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> before that wait instruction occurs?

I may be wrong, it was time ago, but I think I've seen they doing some
timer stuff within each interrupt handler. FreeBSD neither has unified
place to do it now, nor I much like to add some overhead to every
possible interrupt in a system. Present implementation supposed to be a
 compromise.

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E86F033.9040305>