Re: [PATCH] Fix cpuset sched_relax_domain_level control file

From: Li Zefan
Date: Tue May 06 2008 - 21:23:25 EST


Paul Menage wrote:
> Fix cpuset sched_relax_domain_level control file
>
> Due to a merge conflict, the sched_relax_domain_level control file was
> marked as being handled by cpuset_read/write_u64, but the code to handle it
> was actually in cpuset_common_file_read/write.
>
> Since the value being written/read is in fact a signed integer, it
> should be treated as such; this patch adds cpuset_read/write_s64
> functions, and uses them to handle the sched_relax_domain_level file.
>
> With this patch, the sched_relax_domain_level can be read and written,
> and the correct contents seen/updated.
>
> Signed-off-by: Paul Menage <menage@xxxxxxxxxx>
>

Reviewed-by: Li Zefan <lizf@xxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/