From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932560AbcECDc7 (ORCPT ); Mon, 2 May 2016 23:32:59 -0400 Received: from mail-pf0-f181.google.com ([209.85.192.181]:35445 "EHLO mail-pf0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932314AbcECDc6 (ORCPT ); Mon, 2 May 2016 23:32:58 -0400 Date: Tue, 3 May 2016 11:32:56 +0800 From: Minfei Huang To: John Stultz Cc: Thomas Gleixner , lkml Subject: Re: [PATCH] Make clocksource insert entry more efficiently Message-ID: <20160503033256.GA4780@dhcp-128-104.nay.redhat.com> References: <1461576028-2197-1-git-send-email-mnghuan@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/02/16 at 10:39P, John Stultz wrote: > On Mon, Apr 25, 2016 at 2:20 AM, Minfei Huang wrote: > > It is unnecessary to continue looping the list, if we find there is an > > entry that the value of rating is smaller than the new one. It is safe > > to be out the loop, because all of entry are inserted in descending > > order. > > > > Signed-off-by: Minfei Huang > > --- > > Thanks for sending this in. It looks reasonable to me, though not > likely to gain a ton, as these are usually short lists, and we only > really tinker with them at bootup. But yea. I'll put it on my toqueue > list for testing. > > Its maybe a little close to make it for 4.7, but we'll see. > > Thanks again! > -john Thanks Minfei