Re: [PATCH 2/2] cifs: Invoke id mapping functions (try #8)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux