Re: [PATCH] Make /proc/net a symlink on /proc/self/net (v2)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pavel Emelyanov <xemul@...>
Cc: Andrew Morton <akpm@...>, David Miller <davem@...>, Linux Kernel Mailing List <linux-kernel@...>, Linux Netdev List <netdev@...>, Paul E. McKenney <paulmck@...>, Christoph Hellwig <hch@...>
Date: Thursday, March 6, 2008 - 11:57 am

Pavel Emelyanov <xemul@openvz.org> writes:


Before I forget.

As a future patch we need to implement a d_revalidate rule for
/proc/<pid>/task/net that will notice we have unshared a network
namespace and flush all cached dentries for the old network namespace.

Since unsharing happens rarely if at all this d_revalidate should
be relatively cheap, and since the change is real and for everyone
it will not suffer from the inconsistencies that plagued us when
working with d_revalidate on /proc/net.

Eric
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Make /proc/net a symlink on /proc/self/net (v2), Pavel Emelyanov, (Thu Mar 6, 5:18 am)
Re: [PATCH] Make /proc/net a symlink on /proc/self/net (v2), Stephen Smalley, (Thu Mar 6, 12:35 pm)
Re: [PATCH] Make /proc/net a symlink on /proc/self/net (v2), Pavel Emelyanov, (Thu Mar 6, 12:45 pm)
Re: [PATCH] Make /proc/net a symlink on /proc/self/net (v2), Eric W. Biederman, (Thu Mar 6, 11:57 am)
Re: [PATCH] Make /proc/net a symlink on /proc/self/net (v2), Eric W. Biederman, (Thu Mar 6, 11:06 am)
Re: [PATCH] Make /proc/net a symlink on /proc/self/net (v2), Christoph Hellwig, (Thu Mar 6, 8:24 am)