On Tue, 8 Mar 2011 09:23:34 -0600
Shirish Pargaonkar <[email protected]> wrote:


> I was trying to avoid 'taking spinlock and searching through the tree' twice.

You should only have to search the tree twice when there is no entry
present. The cost of searching the tree will be minimal vs. the cost of
allocating memory and performing an upcall.

-- 
Jeff Layton <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to