[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <528d791b-dda4-26f2-f604-f27c645b9011@linux.vnet.ibm.com>
Date: Tue, 23 May 2017 16:43:38 +0530
From: Anshuman Khandual <khandual@...ux.vnet.ibm.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
Anshuman Khandual <khandual@...ux.vnet.ibm.com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: Define KB, MB, GB, TB in core VM
On 05/23/2017 02:41 AM, Andrew Morton wrote:
> On Mon, 22 May 2017 16:47:42 +0530 Anshuman Khandual <khandual@...ux.vnet.ibm.com> wrote:
>
>> There are many places where we define size either left shifting integers
>> or multiplying 1024s without any generic definition to fall back on. But
>> there are couples of (powerpc and lz4) attempts to define these standard
>> memory sizes. Lets move these definitions to core VM to make sure that
>> all new usage come from these definitions eventually standardizing it
>> across all places.
> Grep further - there are many more definitions and some may now
> generate warnings.
Yeah, warning reports started coming in. Will try to change
all of those to follow the new definitions added.
Powered by blists - more mailing lists