lkml.org 
[lkml]   [2004]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] detach_pid(): restore optimization
I can sign off both patches. They look ok.

Signed-off-By: Kirill Korotaev <dev@sw.ru>

> Kirill's kernel/pid.c rework broke optimization logic in detach_pid().
> Non zero return from __detach_pid() was used to indicate, that this pid
> can probably be freed. Current version always (modulo idle threads)
> return non zero value, thus resulting in unneccesary pid_hash scanning.
>
> Also, uninlining __detach_pid() reduces pid.o text size from 2492 to 1600
> bytes.
>
> Oleg.

[...]

Kirill


-
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/

\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.382 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site