On Mon, 16 Jun 2014 23:08:14 +0200 Michal Nazarewicz wrote:
> Instead of open-coding getting minimal value of two, just use min macro.
> That is why it is there for. While changing the function also change
> type of batch local variable to match type of per_cpu_pages::batch
> (which is int).
>
On Mon, 16 Jun 2014, Michal Nazarewicz wrote:
> Instead of open-coding getting minimal value of two, just use min macro.
> That is why it is there for. While changing the function also change
> type of batch local variable to match type of per_cpu_pages::batch
> (which is int).
>
>
Instead of open-coding getting minimal value of two, just use min macro.
That is why it is there for. While changing the function also change
type of batch local variable to match type of per_cpu_pages::batch
(which is int).
Signed-off-by: Michal Nazarewicz
---
mm/page_alloc.c | 8 ++--
1
Instead of open-coding getting minimal value of two, just use min macro.
That is why it is there for. While changing the function also change
type of batch local variable to match type of per_cpu_pages::batch
(which is int).
Signed-off-by: Michal Nazarewicz min...@mina86.com
---
mm/page_alloc.c
On Mon, 16 Jun 2014, Michal Nazarewicz wrote:
Instead of open-coding getting minimal value of two, just use min macro.
That is why it is there for. While changing the function also change
type of batch local variable to match type of per_cpu_pages::batch
(which is int).
Signed-off-by:
On Mon, 16 Jun 2014 23:08:14 +0200 Michal Nazarewicz min...@mina86.com wrote:
Instead of open-coding getting minimal value of two, just use min macro.
That is why it is there for. While changing the function also change
type of batch local variable to match type of per_cpu_pages::batch
6 matches
Mail list logo