On Tue, 8 Mar 2011 09:23:34 -0600 Shirish Pargaonkar <shirishpargaonkar@xxxxxxxxx> 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 <jlayton@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html