Re: [LTP] [PATCH 1/2] mm/lib: ksm code style fixes.

Wanlong Gao
2012-07-09T12:01:21Z

On 07/09/2012 06:08 PM, Zhouping Liu wrote:
>
>
> ----- Original Message -----
>> From: "Caspar Zhang" <caspar@casparzhang.com>
>> To: "Zhouping Liu" <zliu@redhat.com>
>> Cc: "LTP list" <ltp-list@lists.sourceforge.net>
>> Sent: Monday, July 9, 2012 5:51:52 PM
>> Subject: [PATCH 1/2] mm/lib: ksm code style fixes.
>>
>>
>> This patch gives some minor fixes to the following two commits:
>>
>> f9ae09a lib/mem.c: using read_file to replace the redundant code
>> 60c41a5 lib/mem.c: add _wait_ksmd_done func to wait ksmd finish his
>> job
>>
>> to make the codes cleaner and easier to understand.
>
> Looks good for me.
>
> Reviewed-by: Zhouping Liu <zliu@redhat.com>

Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>

>
>
>>
>> Signed-off-by: Caspar Zhang <caspar@casparzhang.com>
>> ---
>> testcases/kernel/mem/lib/mem.c | 69
>> +++++++++++++++------------------------
>> 1 files changed, 27 insertions(+), 42 deletions(-)
>>
>>