Messages in this thread | | | Date | Sun, 3 Jun 2012 21:57:42 +0900 | Subject | Re: [PATCH v2 10/10] ext4: use memweight() | From | Akinobu Mita <> |
| |
2012/6/2 Andreas Dilger <adilger@dilger.ca>: > On 2012-06-02, at 7:40, Akinobu Mita <akinobu.mita@gmail.com> wrote: > >> Use memweight() to count the total number of bits clear in memory area. >> This change only affects the code segments enabled by EXT4FS_DEBUG. > > Personally, I'd rather still keep a thin wrapper ext4_count_free() and put the memweight() call and math inside that. The function name ext4_count_free() is meaningful to readers, while memweight() is much less so.
OK, I'll make such change to ext[234] if no other people disagree with it.
| |