Re: [PATCH] Optimize the resource overlap check

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

 



On Fri, Apr 13, 2012 at 10:28:48AM +0800, Wei Yang wrote:
> In coalesce_windows() it tries to check whether the res1 and res2 overlap.
> This function do four comparisons, which could be done with one
> comparisons.
> 
> Also make the resource_check_overlap() a common function for others.
> 
> Signed-Off-By: Wei Yang <weiyang@xxxxxxxxxxxxxxxxxx>

Signed-Off-By: Ram Pai <linuxram@xxxxxxxxxx>


--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux