From: Thomas Gleixner Date: Tue, 27 Jun 2006 09:55:00 +0000 (-0700) Subject: [PATCH] Drop tasklist lock in do_sched_setscheduler X-Git-Tag: v2.6.18-rc1~488 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e74c69f46d93d29eea0ad8647863d1c6488f0f55;p=pandora-kernel.git [PATCH] Drop tasklist lock in do_sched_setscheduler There is no need to hold tasklist_lock across the setscheduler call, when we pin the task structure with get_task_struct(). Interrupts are disabled in setscheduler anyway and the permission checks do not need interrupts disabled. Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Cc: Steven Rostedt Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed