On Tue, Mar 11, 2014 at 06:09:16PM +0800, Dongsheng Yang wrote:
> As the task nice value is in [-20, 19] and the io priority is in [0, 7],
> and the convert method from niceval to ioprio is implemented with an
> opened code in task_nice_ioprio().
>
> This patch move the implementation to a macro N
On 03/11/2014 06:09 PM, Dongsheng Yang wrote:
As the task nice value is in [-20, 19] and the io priority is in [0, 7],
and the convert method from niceval to ioprio is implemented with an
opened code in task_nice_ioprio().
This patch move the implementation to a macro NICE_TO_IOPRIO, making
it m
As the task nice value is in [-20, 19] and the io priority is in [0, 7],
and the convert method from niceval to ioprio is implemented with an
opened code in task_nice_ioprio().
This patch move the implementation to a macro NICE_TO_IOPRIO, making
it more readable and modular.
Signed-off-by: Dongsh
3 matches
Mail list logo