Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 9 Jun 2002 13:22:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 9 Jun 2002 13:22:40 -0400 Received: from gateway-1237.mvista.com ([12.44.186.158]:40698 "EHLO hermes.mvista.com") by vger.kernel.org with ESMTP id ; Sun, 9 Jun 2002 13:22:39 -0400 Subject: Re: [PATCH][2.5] make kernel scheduler use list_move_tail (1 occ) From: Robert Love To: Lightweight patch manager Cc: Linux Kernel Mailing List , Ingo Molnar In-Reply-To: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-6) Date: 09 Jun 2002 10:22:30 -0700 Message-Id: <1023643356.1180.119.camel@sinai> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2002-06-09 at 07:22, Lightweight patch manager wrote: > This makes the kernel scheduler use list_move_tail instead of more code > > [...] > > - list_del(¤t->run_list); > - list_add_tail(¤t->run_list, array->queue + current->prio); > + list_move_tail(¤t->run_list, array->queue + current->prio); I guess this would be fine if I knew what list_move_tail did... or if I had it in my tree: [10:11:06]rml@sinai:~/kernel-2.5/linux$ grep -r list_move_tail * [10:12:07]rml@sinai:~/kernel-2.5/linux$ ??? Robert Love - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/