[lkml]   [2003]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] O(1) proc_pid_readdir
On Sun, Mar 16, 2003 at 04:52:48PM +0100, Manfred Spraul wrote:
> Below is a proposal to get rid of the quadratic behaviour of
> proc_pid_readir(): Instead of storing the task number in f_pos and walking
> tasks by tasklist order, the pid is stored in f_pos and the tasks are
> walked by (hash-mangled) pid order.

Looks good to me. Testing soon.

-- wli
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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