[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 2/3] x86/dmi: Drop trivial callback functions


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Jan Beulich <JBeulich@xxxxxxxx>
  • Date: Thu, 25 Jul 2019 10:35:48 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=suse.com;dmarc=pass action=none header.from=suse.com;dkim=pass header.d=suse.com;arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e869mG4pNSI1uZseh0JmPukFAykr5+B+zS0bfiXXd5U=; b=jTDzHZ73MQLvQGqcK30HEr6XEohz5+9ETw/r/bOkG4fDS8/iR8NIhVzD5zoM36b4BZl5jZI9cXyROvVPHVS1L3R2+U9XweztAqYD+DG+WNa+Inawy8M9s1COPBl2kYbpuiz9FP0DSIfXyKxlrVnU698d5PsUxWPcc7SqOI4Ujutr7M080y5JYqRneBFSSpIKOsHmCsqKuh4t5fMFTeFaZQNyDCN9TT5SH/914ZIWPln1e4SZW/Tk/+0jaW1LAXGy7PcKwdOcwfBizA5nuKGqSofpig/JKMQWktQYZEGLnoQ+6Ke2GYW7sgGndLQDn9IQROY5zilRUIQoO1xyJw992A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mqrSfGrNREiJHGNl+QkaQijpKIiISgtUjKC4ncdXkvVfv859qT8e6jCUlh35yTcDY4Oh4SJkcbWwbgy8yeshUMrp7YgI2PsSZ6H9r9vLEa4gVQfNQEP+1zke68cCTRhJ86HgE8IW2DavwgllSbIEh0MNz/L2yxD3Upm0LzPlwqNMLG+vvcjawAX8kOG4sFkwXuWZ9UK0ohcSD8IHc1zcQ3dyzUi2SFlfsw82ZS6B6JzTIEI33F8LsBh1JsBnlQ/GzN2HuInIVyEXGqVTcGhBCSFdDIV3TONXnQ+pEbwa0OtztaAUMnuwFHHv2xJ+nkmgV79UsIWbzkQiXjizohiYJg==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=JBeulich@xxxxxxxx;
  • Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Thu, 25 Jul 2019 10:36:54 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVQkdKBV8AYBVwqk6k/Z84XZJf5abbJN2A
  • Thread-topic: [PATCH 2/3] x86/dmi: Drop trivial callback functions

On 24.07.2019 19:42, Andrew Cooper wrote:
> dmi_check_system() returns the number of matches.  This being nonzero is more
> efficient than calling into a trivial function to modify a variable.
> 
> No functional change, but this results in less compiled code, which is
> also (fractionally) quicker to run.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.