Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1661882 > unrolled thread
| Started by | Anshuman Khandual <khandual@linux.vnet.ibm.com> |
|---|---|
| First post | 2017-06-09 05:00 +0200 |
| Last post | 2017-06-09 05:00 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] mm: Define KB, MB, GB, TB in core VM Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2017-06-09 05:00 +0200
| From | Anshuman Khandual <khandual@linux.vnet.ibm.com> |
|---|---|
| Date | 2017-06-09 05:00 +0200 |
| Subject | Re: [PATCH] mm: Define KB, MB, GB, TB in core VM |
| Message-ID | <tQijw-4dh-13@gated-at.bofh.it> |
On 05/29/2017 04:25 PM, Michael Ellerman wrote: > Anshuman Khandual <khandual@linux.vnet.ibm.com> writes: >> >> So the question is are we willing to do all these changes across >> the tree to achieve common definitions of KB, MB, GB, TB in the >> kernel ? Is it worth ? > > No I don't think it's worth the churn. > > But have you looked at using the "proper" names, ie. KiB, MiB, GiB? > > AFAICS the only clash is: > > drivers/mtd/ssfdc.c:#define KiB(x) ( (x) * 1024L ) > drivers/mtd/ssfdc.c:#define MiB(x) ( KiB(x) * 1024L ) > > Which would be easy to convert. Sure, will take a look into generalizing KiB/MiB/GiB instead of current proposal for KB/MB/GB.
Back to top | Article view | linux.kernel
csiph-web