Re: [RFC][PATCH] rbind across namespaces

Jamie Lokier
2005-05-21T13:44:13Z

Ram wrote:
> > Also why check current->namespace? It doesn't hurt to do
> > get_namespace() even if it's not strictly needed. And it would
> > simplify the code.
>
> however get_namespace() will chew up some extra cycles
> sometimes unnecessarily. I did incorporate your comment and
> got much simpler code.

Checking current->namespace also chews up extra cycles, sometimes
unnecessarily, but the cycles are negligable in both cases.

Because they're negligable, the most important thing is to avoid
unnecessary complications in the code.

-- Jamie