Re: Which process is associated with process ID 0 (swapper)

From: Patrick McHardy
Date: Thu Apr 20 2006 - 20:40:49 EST


Mikado wrote:
> Jan Engelhardt wrote:
>
>>>Is your code doing it like ipt_owner does?
>
>
> It seems that ipt_owner does _not_ support PID match anymore:

Yes, it was removed for two reasons:

- it used tasklist_lock from bh-context, resulting in deadlocks
- there is no 1:1 mapping between sockets (or packets) and
processes. If you use corking even a single packet can be
created in cooperation by multiple processes.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/