Received: from eggs.gnu.org ([208.118.235.92]:43962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlV7E-0006VP-6m for qemu-devel@nongnu.org; Wed, 19 Dec 2012 20:40:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TlV79-0007xm-GG for qemu-devel@nongnu.org; Wed, 19 Dec 2012 20:40:03 -0500 Received: from csmailer.cs.nctu.edu.tw ([140.113.235.130]:43010) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlV79-0007vd-60 for qemu-devel@nongnu.org; Wed, 19 Dec 2012 20:39:59 -0500 Date: Thu, 20 Dec 2012 09:39:57 +0800 From: =?utf-8?B?6Zmz6Z+L5Lu7IChXZWktUmVuIENoZW4p?= Message-ID: <20121220013957.GA10479@cs.nctu.edu.tw> References: <20121120235248.GA24638@cs.nctu.edu.tw> <20121218163753.GA29319@stefanha-thinkpad.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20121218163753.GA29319@stefanha-thinkpad.redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2] exec.c: Use tb1->phys_hash_next directly in tb_remove List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Peter Maydell , Evgeny Voevodin , qemu-devel@nongnu.org, =?utf-8?B?6Zmz6Z+L5Lu7IChXZWktUmVuIENoZW4p?= On Tue, Dec 18, 2012 at 05:37:53PM +0100, Stefan Hajnoczi wrote: > On Wed, Nov 21, 2012 at 07:52:48AM +0800, =E9=99=B3=E9=9F=8B=E4=BB=BB (= Wei-Ren Chen) wrote: > > When tb_remove was first commited at fd6ce8f6, there were three dif= ferent > > calls pass different names to offsetof. In current codebase, the othe= r two > > calls are replaced with tb_page_remove. There is no need to have a ge= neral > > tb_remove. Omit passing the third parameter and using tb1->phys_hash_= next > > directly. > >=20 > > Signed-off-by: Chen Wei-Ren > > --- > >=20 > > v2: Address Peter's comment. > > - place comment used belong tb_remove above tb_phys_invalidate. > > - remove unnecessary bracket. > >=20 > > exec.c | 12 +++++------- > > 1 files changed, 5 insertions(+), 7 deletions(-) >=20 > Please rebase onto qemu.git/master. done. I sent to qemu-trivial this time. :) --=20 Wei-Ren Chen (=E9=99=B3=E9=9F=8B=E4=BB=BB) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj