Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760084AbcCDTjC (ORCPT ); Fri, 4 Mar 2016 14:39:02 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48325 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758743AbcCDTi7 (ORCPT ); Fri, 4 Mar 2016 14:38:59 -0500 Date: Fri, 4 Mar 2016 20:38:56 +0100 From: Radim =?utf-8?B?S3LEjW3DocWZ?= To: Paolo Bonzini Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: Re: [PATCH] KVM: i8254: drop local copy of mul_u64_u32_div Message-ID: <20160304193855.GA5443@potion.brq.redhat.com> References: <1457080133-28506-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1457080133-28506-1-git-send-email-pbonzini@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Fri, 04 Mar 2016 19:38:59 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 344 Lines: 11 2016-03-04 09:28+0100, Paolo Bonzini: > A function that does the same as i8254.c's muldiv64 has been added > (for KVM's own use, in fact!) in include/linux/math64.h. Use it > instead of muldiv64. > > Signed-off-by: Paolo Bonzini > --- (And mul_u64_u32_div is faster,) Reviewed-by: Radim Krčmář