From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6iaS-0006sj-Ow for qemu-devel@nongnu.org; Thu, 22 Sep 2011 08:41:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R6iaR-0004NJ-4u for qemu-devel@nongnu.org; Thu, 22 Sep 2011 08:41:08 -0400 Received: from mail-gy0-f173.google.com ([209.85.160.173]:61078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6iaQ-0004ND-U7 for qemu-devel@nongnu.org; Thu, 22 Sep 2011 08:41:07 -0400 Received: by gye5 with SMTP id 5so2408002gye.4 for ; Thu, 22 Sep 2011 05:41:06 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20110922023611.GA14886@cs.nctu.edu.tw> References: <4E7A9153.9030905@linux.vnet.ibm.com> <20110922015833.GA11618@cs.nctu.edu.tw> <4E7A9D2E.20402@linux.vnet.ibm.com> <20110922023611.GA14886@cs.nctu.edu.tw> Date: Thu, 22 Sep 2011 08:41:06 -0400 Message-ID: From: Xin Tong Content-Type: multipart/alternative; boundary=90e6ba613ad69d6df504ad8701fe Subject: Re: [Qemu-devel] TB chaining List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?6Zmz6Z+L5Lu7?= Cc: Lei Li , qemu-devel --90e6ba613ad69d6df504ad8701fe Content-Type: text/plain; charset=Big5 Content-Transfer-Encoding: quoted-printable if direct chaining is used, am I right to think that jmp_next and jmp_first will not be used ? Thanks Xin On Wed, Sep 21, 2011 at 10:36 PM, =B3=AF=AD=B3=A5=F4 wrote: > > Well, the comment is from source code. I don't catch why you think "lis= t > > of TBS jumping to this one" is wrong. > > My understand is that TB chain be used forreduce switch from the > translation > > cache to the guest code. It will be a circular list if there is no > interrupt > > or exceptional. > > At mean while, it's just the date related to TB chain in TB struct, it'= s > > not about process of how TB chain work. > > "list of TBs jumping to this one" make me think that jmp_next and > jmp_first store those TBs jump to this TB. But it seems the actual > use of jmp_next is another way around, jmp_next points to those TBs > next to this one. > > Regards, > chenwj > > -- > Wei-Ren Chen (=B3=AF=AD=B3=A5=F4) > Computer Systems Lab, Institute of Information Science, > Academia Sinica, Taiwan (R.O.C.) > Tel:886-2-2788-3799 #1667 > > --90e6ba613ad69d6df504ad8701fe Content-Type: text/html; charset=Big5 Content-Transfer-Encoding: quoted-printable if direct chaining is used, am I right to think that jmp_next and jmp_first= will not be used ?

Thanks

Xin


On Wed, Sep 21, 2011 at 10:36 PM, =B3=AF=AD=B3=A5=F4 <chenwj@iis.sinica.edu= .tw> wrote:
> Well, the comment is from source code. I don't catch why you thin= k "list
> of TBS jumping to this one" is wrong.
> My understand is that TB chain be used forreduce  switch  fr= om the  translation
> cache  to the  guest code. It will be a circular list if the= re is no interrupt
> or exceptional.
> At mean while, it's just the date related to TB chain in TB struct= , it's
> not about process of how TB chain work.

 "list of TBs jumping to this one" make me think that= jmp_next and
jmp_first store those TBs jump to this TB. But it seems the actual
use of jmp_next is another way around, jmp_next points to those TBs
next to this one.

Regards,
chenwj

--
Wei-Ren Chen (=B3=AF=AD=B3=A5=F4)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667


--90e6ba613ad69d6df504ad8701fe--