lkml.org 
[lkml]   [2015]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V2] x86/mm/pat: Do a small optimization and fix in reserve_memtype
On Tue, 21 Jul 2015, Pan Xinhui wrote:
> So *ret_type might be set to found_type(match->type),
>
> The call train is deep, it took me long time to review them.
> As actual_type != new->type is possible, we need save new->type to actual_type.

Fair enough. But that wants to have a comment in the code as any
casual reader will trip over this.

Thanks,

tglx


\
 
 \ /
  Last update: 2015-07-21 17:41    [W:0.431 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site