Re: [PATCH] ext4: remove unnecessary operation in ext4_mb_regular_allocator()

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

 



On Mon, Mar 22, 2010 at 10:35:54PM +0800, jing zhang wrote:
> From: Jing Zhang <zj.barak@xxxxxxxxx>
> 
> Date: Mon Mar 22 22:20:38     2010
> 
> 1, In one of the hot functions in mballoc.c, unnecessary operation on
>        struct ext4_group_desc *desc;
>     is removed.
> 
> 2, Unlike spin_lock() and spin_unlock(), ext4_mb_load_buddy() is
> companied by ext4_mb_release_desc. And it is hard, at least for me, to
> get sure that ext4_mb_release_desc has little to do with struct
> ext4_group_desc, and for those readers as well, whose native language
> is not English. It seems the choice includes
>      ext4_mb_release_buddy
>      ext4_mb_put_buddy
>      ext4_mb_unload_buddy
> and I like the last one.

Please separate things like this into two separate patches; it makes
them much easier to review.

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