Re: [PATCH 1/5] mballoc: code cleanup in mb_find_buddy()

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

 



On Sun, Feb 06, 2011 at 12:53:44PM +0800, Coly Li wrote:
> Current code calculate max no matter whether order is zero, it's
> unnecessary. This cleanup patch sets max to "1 << (e4b->bd_blkbits
> + 3)" only when order == 0.
> 
> Signed-off-by: Coly Li <bosong.ly@xxxxxxxxxx>
> Cc: Alex Tomas <alex@xxxxxxxxxxxxx>
> Cc: Theodore Tso <tytso@xxxxxxxxxx>

Added to the ext4 patch queue, thanks!

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


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux