[PATCH 2/2] infiniband: Modify the reference to xa_store_irq() because the parameter of this function has changed

2020-11-03 Thread xiaofeng.yan
From: "xiaofeng.yan" function xa_store_irq() has three parameters because of removing patameter "gfp_t gfp" Signed-off-by: xiaofeng.yan --- drivers/infiniband/core/cm.c| 2 +- drivers/infiniband/hw/hns/hns_roce_qp.c | 2 +- drivers/infiniband/hw/mlx5/srq_cmd.

[PATCH 1/2] [xarry]:Fixed an issue with memory allocated using the GFP_KERNEL flag in spinlocks

2020-11-03 Thread xiaofeng.yan
From: "xiaofeng.yan" function xa_store_irq() has a spinlock as follows: xa_lock_irq() -->spin_lock_irq(&(xa)->xa_lock) GFP_KERNEL flag could cause sleep. So change GFP_KERNEL to GFP_ATOMIC and Romve "gfp_t gfp" in function static inline void *xa_store_irq(st

[tip:sched/core] sched/core: Remove a parameter in the migrate_task_rq() function

2015-10-06 Thread tip-bot for xiaofeng.yan
Commit-ID: 5a4fd0368517bc5b5399ef958f6d30cbff492918 Gitweb: http://git.kernel.org/tip/5a4fd0368517bc5b5399ef958f6d30cbff492918 Author: xiaofeng.yan AuthorDate: Wed, 23 Sep 2015 14:55:59 +0800 Committer: Ingo Molnar CommitDate: Tue, 6 Oct 2015 17:08:23 +0200 sched/core: Remove

[tip:sched/core] sched/core: Remove a parameter in the migrate_task_rq() function

2015-10-06 Thread tip-bot for xiaofeng.yan
Commit-ID: 5a4fd0368517bc5b5399ef958f6d30cbff492918 Gitweb: http://git.kernel.org/tip/5a4fd0368517bc5b5399ef958f6d30cbff492918 Author: xiaofeng.yan <yanxiaof...@inspur.com> AuthorDate: Wed, 23 Sep 2015 14:55:59 +0800 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Tue

[PATCH] ACPI, Repair of outdated variable

2015-07-01 Thread xiaofeng.yan
variable "value" in struct acpi_pnp_device_id has been changed to "string". Signed-off-by: xiaofeng.yan --- drivers/acpi/acpica/nsdumpdv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/acpica/nsdumpdv.c b/drivers/acpi/acpica/nsdumpdv.c in

[PATCH] ACPI, Repair of outdated variable

2015-07-01 Thread xiaofeng.yan
variable value in struct acpi_pnp_device_id has been changed to string. Signed-off-by: xiaofeng.yan yanxiaof...@inspur.com --- drivers/acpi/acpica/nsdumpdv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/acpica/nsdumpdv.c b/drivers/acpi/acpica/nsdumpdv.c index

[PATCH v2] *** TEST ***

2015-06-15 Thread xiaofeng.yan
TEST -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v2] *** TEST ***

2015-06-15 Thread xiaofeng.yan
TEST -- 1.9.1 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v2] Intel_irq_remapping: fix a comment error

2015-06-03 Thread xiaofeng.yan
change tabke to take. Signed-off-by: xiaofeng.yan Reviewed-by: Jiang Liu --- drivers/iommu/intel_irq_remapping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/intel_irq_remapping.c b/drivers/iommu/intel_irq_remapping.c index 5709ae9..85676d0 100644

[PATCH] intel_irq_remapping: fix a comment error

2015-06-03 Thread xiaofeng.yan
change tabke to take. Signed-off-by: xiaofeng.yan --- drivers/iommu/intel_irq_remapping.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/iommu/intel_irq_remapping.c b/drivers/iommu/intel_irq_remapping.c index 5709ae9..d59f82d 100644 --- a/drivers/iommu

[PATCH] intel_irq_remapping: fix a comment error

2015-06-03 Thread xiaofeng.yan
change tabke to take. Signed-off-by: xiaofeng.yan yanxiaof...@inspur.com --- drivers/iommu/intel_irq_remapping.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/iommu/intel_irq_remapping.c b/drivers/iommu/intel_irq_remapping.c index 5709ae9..d59f82d 100644

[PATCH v2] Intel_irq_remapping: fix a comment error

2015-06-03 Thread xiaofeng.yan
change tabke to take. Signed-off-by: xiaofeng.yan yanxiaof...@inspur.com Reviewed-by: Jiang Liu jiang@linux.intel.com --- drivers/iommu/intel_irq_remapping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/intel_irq_remapping.c b/drivers/iommu

test

2014-10-24 Thread xiaofeng.yan
test -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

test

2014-10-24 Thread xiaofeng.yan
test -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[tip:sched/core] sched/deadline: Fix a precision problem in the microseconds range

2014-09-07 Thread tip-bot for xiaofeng.yan
Commit-ID: 177ef2a6315ea7bf173653182324e1dcd08ffeaa Gitweb: http://git.kernel.org/tip/177ef2a6315ea7bf173653182324e1dcd08ffeaa Author: xiaofeng.yan AuthorDate: Tue, 26 Aug 2014 03:15:41 + Committer: Ingo Molnar CommitDate: Sun, 7 Sep 2014 11:09:59 +0200 sched/deadline: Fix

[tip:sched/core] sched/deadline: Fix a precision problem in the microseconds range

2014-09-07 Thread tip-bot for xiaofeng.yan
Commit-ID: 177ef2a6315ea7bf173653182324e1dcd08ffeaa Gitweb: http://git.kernel.org/tip/177ef2a6315ea7bf173653182324e1dcd08ffeaa Author: xiaofeng.yan xiaofeng@huawei.com AuthorDate: Tue, 26 Aug 2014 03:15:41 + Committer: Ingo Molnar mi...@kernel.org CommitDate: Sun, 7 Sep 2014 11

[PATCH v4] sched/deadline: Fix the precision problem in the microsecond range

2014-08-25 Thread xiaofeng.yan
The overrun could happen in function start_hrtick_dl() when a task with SCHED_DEADLINE runs in the microsecond range. For example, a task with SCHED_DEADLINE has the following parameters Task runtime deadline period P1 200us 500us500us The deadline and period from task P1 are less

[PATCH v4] sched/deadline: Fix the precision problem in the microsecond range

2014-08-25 Thread xiaofeng.yan
The overrun could happen in function start_hrtick_dl() when a task with SCHED_DEADLINE runs in the microsecond range. For example, a task with SCHED_DEADLINE has the following parameters Task runtime deadline period P1 200us 500us500us The deadline and period from task P1 are less

Re: [PATCH v3] sched/deadline: overrun could happen in start_hrtick_dl

2014-08-15 Thread xiaofeng.yan
On 2014/8/12 22:52, Ingo Molnar wrote: * xiaofeng.yan wrote: It could be wrong for the precision of runtime and deadline when the precision is within microsecond level. For example: Task runtime deadline period P1 200us 500us 500us This case need enbale HRTICK feature by the next

Re: [PATCH v3] sched/deadline: overrun could happen in start_hrtick_dl

2014-08-15 Thread xiaofeng.yan
On 2014/8/12 22:52, Ingo Molnar wrote: * xiaofeng.yan xiaofeng@huawei.com wrote: It could be wrong for the precision of runtime and deadline when the precision is within microsecond level. For example: Task runtime deadline period P1 200us 500us 500us This case need enbale HRTICK

[PATCH v3] sched/deadline: overrun could happen in start_hrtick_dl

2014-08-06 Thread xiaofeng.yan
It could be wrong for the precision of runtime and deadline when the precision is within microsecond level. For example: Task runtime deadline period P1 200us 500us 500us This case need enbale HRTICK feature by the next command PC#echo "HRTICK" > /sys/kernel/debug/sched_features

[PATCH v3] sched/deadline: overrun could happen in start_hrtick_dl

2014-08-06 Thread xiaofeng.yan
It could be wrong for the precision of runtime and deadline when the precision is within microsecond level. For example: Task runtime deadline period P1 200us 500us 500us This case need enbale HRTICK feature by the next command PC#echo HRTICK /sys/kernel/debug/sched_features PC#trace-cmd

[tip:sched/core] sched/rt: Fix replenish_dl_entity() comments to match the current upstream code

2014-07-16 Thread tip-bot for xiaofeng.yan
Commit-ID: 1b09d29bc00964d9032d80516f958044ac6b3805 Gitweb: http://git.kernel.org/tip/1b09d29bc00964d9032d80516f958044ac6b3805 Author: xiaofeng.yan AuthorDate: Mon, 7 Jul 2014 05:59:04 + Committer: Ingo Molnar CommitDate: Wed, 16 Jul 2014 13:38:20 +0200 sched/rt: Fix

[tip:sched/core] sched/rt: Fix replenish_dl_entity() comments to match the current upstream code

2014-07-16 Thread tip-bot for xiaofeng.yan
Commit-ID: 1b09d29bc00964d9032d80516f958044ac6b3805 Gitweb: http://git.kernel.org/tip/1b09d29bc00964d9032d80516f958044ac6b3805 Author: xiaofeng.yan xiaofeng@huawei.com AuthorDate: Mon, 7 Jul 2014 05:59:04 + Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 16 Jul 2014 13

[PATCH v2] sched/deadline: overrun could happen in start_hrtick_dl

2014-07-13 Thread xiaofeng.yan
It could be wrong for the precision of runtime and deadline when the precision is within microsecond level. For example: Task runtime deadline period P1 200us 500us 500us This case need enbale HRTICK feature by the next command PC#echo "HRTICK" > /sys/kernel/debug/sched_features

[PATCH v2] sched/deadline: overrun could happen in start_hrtick_dl

2014-07-13 Thread xiaofeng.yan
It could be wrong for the precision of runtime and deadline when the precision is within microsecond level. For example: Task runtime deadline period P1 200us 500us 500us This case need enbale HRTICK feature by the next command PC#echo HRTICK /sys/kernel/debug/sched_features PC#trace-cmd

[PATCH v2] sched/deadline: overrun could happen in start_hrtick_dl

2014-07-09 Thread xiaofeng.yan
It could be wrong for the precision of runtime and deadline when the precision is within microsecond level. For example: Task runtime deadline period P1 200us 500us 500us This case need enbale HRTICK feature by the next command PC#echo "HRTICK" > /sys/kernel/debug/sched_features

[PATCH] sched/core: Limit the least time slice in hrtick_start()

2014-07-09 Thread xiaofeng.yan
Move this piece of code with the limit of the least time slice from hrtick_start_fair() to hrtick_start() because EDF schedule class also need this function in start_hrtick_dl(). EDF tasks with the runtime of microsecond level will lead to the wrong precision because system can't control the end

[PATCH] sched/core: Limit the least time slice in hrtick_start()

2014-07-09 Thread xiaofeng.yan
Move this piece of code with the limit of the least time slice from hrtick_start_fair() to hrtick_start() because EDF schedule class also need this function in start_hrtick_dl(). EDF tasks with the runtime of microsecond level will lead to the wrong precision because system can't control the end

[PATCH v2] sched/deadline: overrun could happen in start_hrtick_dl

2014-07-09 Thread xiaofeng.yan
It could be wrong for the precision of runtime and deadline when the precision is within microsecond level. For example: Task runtime deadline period P1 200us 500us 500us This case need enbale HRTICK feature by the next command PC#echo HRTICK /sys/kernel/debug/sched_features PC#trace-cmd

Re: [PATCH] sched/deadline: overrun could happen in start_hrtick_dl

2014-07-08 Thread xiaofeng.yan
On 2014/7/8 20:52, Peter Zijlstra wrote: On Tue, Jul 08, 2014 at 07:50:22PM +0800, xiaofeng.yan wrote: I have tested this solution, It can work very well with deadline schedule class. Great, please send it as a proper patch and I might just press 'A' ;-) Ok, I will send it later

Re: [PATCH] sched/deadline: overrun could happen in start_hrtick_dl

2014-07-08 Thread xiaofeng.yan
On 2014/7/8 19:23, xiaofeng.yan wrote: On 2014/7/8 17:33, Peter Zijlstra wrote: On Tue, Jul 08, 2014 at 08:53:27AM +, xiaofeng.yan wrote: static void start_hrtick_dl(struct rq *rq, struct task_struct *p) { -s64 delta = p->dl.dl_runtime - p->dl.runtime; - -if (delta &

Re: [PATCH] sched/deadline: overrun could happen in start_hrtick_dl

2014-07-08 Thread xiaofeng.yan
On 2014/7/8 17:33, Peter Zijlstra wrote: On Tue, Jul 08, 2014 at 08:53:27AM +, xiaofeng.yan wrote: static void start_hrtick_dl(struct rq *rq, struct task_struct *p) { - s64 delta = p->dl.dl_runtime - p->dl.runtime; - - if (delta > 1) - hrtick_st

[PATCH] sched/deadline: overrun could happen in start_hrtick_dl

2014-07-08 Thread xiaofeng.yan
It could be wrong for the precision of runtime and deadline when the precision is within microsecond level. For example: Task runtime deadline period P1 200us 500us 500us This case need enbale HRTICK feature by the next command PC#echo "HRTICK" > /sys/kernel/debug/sched_features

Re: [PATCH] sched/deadline: overrun could happen in start_hrtick_dl

2014-07-08 Thread xiaofeng.yan
On 2014/7/8 16:53, xiaofeng.yan wrote: Sorry, I send a old patch and send a new one later. Thanks Yan It could be wrong for the precision of runtime and deadline when the precision is within microsecond level. For example: Task runtime deadline period P1 200us 500us 500us This case

[PATCH] sched/deadline: overrun could happen in start_hrtick_dl

2014-07-08 Thread xiaofeng.yan
It could be wrong for the precision of runtime and deadline when the precision is within microsecond level. For example: Task runtime deadline period P1 200us 500us 500us This case need enbale HRTICK feature by the next command PC#echo "HRTICK" > /sys/kernel/debug/sched_features

Re: [PATCH] sched/rt: overrun could happen in start_hrtick_dl

2014-07-08 Thread xiaofeng.yan
On 2014/7/8 15:49, Peter Zijlstra wrote: On Tue, Jul 08, 2014 at 10:51:02AM +0800, xiaofeng.yan wrote: On 2014/7/8 10:40, Li Zefan wrote: On 2014/7/8 9:10, xiaofeng.yan wrote: On 2014/7/7 16:41, Peter Zijlstra wrote: On Fri, Jul 04, 2014 at 12:02:21PM +, xiaofeng.yan wrote: It could

Re: [PATCH] sched/rt: overrun could happen in start_hrtick_dl

2014-07-08 Thread xiaofeng.yan
On 2014/7/8 15:49, Peter Zijlstra wrote: On Tue, Jul 08, 2014 at 10:51:02AM +0800, xiaofeng.yan wrote: On 2014/7/8 10:40, Li Zefan wrote: On 2014/7/8 9:10, xiaofeng.yan wrote: On 2014/7/7 16:41, Peter Zijlstra wrote: On Fri, Jul 04, 2014 at 12:02:21PM +, xiaofeng.yan wrote: It could

[PATCH] sched/deadline: overrun could happen in start_hrtick_dl

2014-07-08 Thread xiaofeng.yan
It could be wrong for the precision of runtime and deadline when the precision is within microsecond level. For example: Task runtime deadline period P1 200us 500us 500us This case need enbale HRTICK feature by the next command PC#echo HRTICK /sys/kernel/debug/sched_features PC#trace-cmd

Re: [PATCH] sched/deadline: overrun could happen in start_hrtick_dl

2014-07-08 Thread xiaofeng.yan
On 2014/7/8 16:53, xiaofeng.yan wrote: Sorry, I send a old patch and send a new one later. Thanks Yan It could be wrong for the precision of runtime and deadline when the precision is within microsecond level. For example: Task runtime deadline period P1 200us 500us 500us This case

[PATCH] sched/deadline: overrun could happen in start_hrtick_dl

2014-07-08 Thread xiaofeng.yan
It could be wrong for the precision of runtime and deadline when the precision is within microsecond level. For example: Task runtime deadline period P1 200us 500us 500us This case need enbale HRTICK feature by the next command PC#echo HRTICK /sys/kernel/debug/sched_features PC#trace-cmd

Re: [PATCH] sched/deadline: overrun could happen in start_hrtick_dl

2014-07-08 Thread xiaofeng.yan
On 2014/7/8 17:33, Peter Zijlstra wrote: On Tue, Jul 08, 2014 at 08:53:27AM +, xiaofeng.yan wrote: static void start_hrtick_dl(struct rq *rq, struct task_struct *p) { - s64 delta = p-dl.dl_runtime - p-dl.runtime; - - if (delta 1) - hrtick_start(rq, p

Re: [PATCH] sched/deadline: overrun could happen in start_hrtick_dl

2014-07-08 Thread xiaofeng.yan
On 2014/7/8 19:23, xiaofeng.yan wrote: On 2014/7/8 17:33, Peter Zijlstra wrote: On Tue, Jul 08, 2014 at 08:53:27AM +, xiaofeng.yan wrote: static void start_hrtick_dl(struct rq *rq, struct task_struct *p) { -s64 delta = p-dl.dl_runtime - p-dl.runtime; - -if (delta 1

Re: [PATCH] sched/deadline: overrun could happen in start_hrtick_dl

2014-07-08 Thread xiaofeng.yan
On 2014/7/8 20:52, Peter Zijlstra wrote: On Tue, Jul 08, 2014 at 07:50:22PM +0800, xiaofeng.yan wrote: I have tested this solution, It can work very well with deadline schedule class. Great, please send it as a proper patch and I might just press 'A' ;-) Ok, I will send it later

Re: [PATCH] sched/rt: overrun could happen in start_hrtick_dl

2014-07-07 Thread xiaofeng.yan
On 2014/7/8 10:40, Li Zefan wrote: On 2014/7/8 9:10, xiaofeng.yan wrote: On 2014/7/7 16:41, Peter Zijlstra wrote: On Fri, Jul 04, 2014 at 12:02:21PM +, xiaofeng.yan wrote: It could be wrong for the precision of runtime and deadline when the precision is within microsecond level

Re: [PATCH] sched/rt: overrun could happen in start_hrtick_dl

2014-07-07 Thread xiaofeng.yan
On 2014/7/7 16:41, Peter Zijlstra wrote: On Fri, Jul 04, 2014 at 12:02:21PM +, xiaofeng.yan wrote: It could be wrong for the precision of runtime and deadline when the precision is within microsecond level. For example: Task runtime deadline period P1 200us 500us 500us This case

[PATCH] sched/rt:Fix replenish_dl_entity() comments to match the current upstream code

2014-07-07 Thread xiaofeng.yan
Signed-off-by: xiaofeng.yan --- kernel/sched/deadline.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index fc4f98b1..6541565 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c @@ -306,7 +306,7 @@ static

[PATCH] sched/rt:Fix replenish_dl_entity() comments to match the current upstream code

2014-07-07 Thread xiaofeng.yan
Signed-off-by: xiaofeng.yan xiaofeng@huawei.com --- kernel/sched/deadline.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index fc4f98b1..6541565 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c

Re: [PATCH] sched/rt: overrun could happen in start_hrtick_dl

2014-07-07 Thread xiaofeng.yan
On 2014/7/7 16:41, Peter Zijlstra wrote: On Fri, Jul 04, 2014 at 12:02:21PM +, xiaofeng.yan wrote: It could be wrong for the precision of runtime and deadline when the precision is within microsecond level. For example: Task runtime deadline period P1 200us 500us 500us This case

Re: [PATCH] sched/rt: overrun could happen in start_hrtick_dl

2014-07-07 Thread xiaofeng.yan
On 2014/7/8 10:40, Li Zefan wrote: On 2014/7/8 9:10, xiaofeng.yan wrote: On 2014/7/7 16:41, Peter Zijlstra wrote: On Fri, Jul 04, 2014 at 12:02:21PM +, xiaofeng.yan wrote: It could be wrong for the precision of runtime and deadline when the precision is within microsecond level

[PATCH] sched/rt: overrun could happen in start_hrtick_dl

2014-07-04 Thread xiaofeng.yan
hen runtime is less than 10us. So the process will continue to run until tick-period coming. For fixing this problem, Let delta is equal to 10us when it is less than 10us. So the hrtimer will start up to control the end of process. Signed-off-by: xiaofeng.yan --- kernel/sched/deadline.c |

[PATCH] sched/rt: overrun could happen in start_hrtick_dl

2014-07-04 Thread xiaofeng.yan
the process will continue to run until tick-period coming. For fixing this problem, Let delta is equal to 10us when it is less than 10us. So the hrtimer will start up to control the end of process. Signed-off-by: xiaofeng.yan xiaofeng@huawei.com --- kernel/sched/deadline.c |6 ++ 1 file

Re: [RFD] sched/deadline: EDF dynamic quota design

2014-06-19 Thread xiaofeng.yan
On 2014/6/19 17:13, Luca Abeni wrote: On 06/18/2014 09:01 AM, xiaofeng.yan wrote: [...] I also had an implementation of the GRUB algorithm (based on a modification of my old CBS scheduler for Linux), but the computational complexity of the algorithm was too high. That's why I never proposed

Re: [RFD] sched/deadline: EDF dynamic quota design

2014-06-19 Thread xiaofeng.yan
On 2014/6/19 17:13, Luca Abeni wrote: On 06/18/2014 09:01 AM, xiaofeng.yan wrote: [...] I also had an implementation of the GRUB algorithm (based on a modification of my old CBS scheduler for Linux), but the computational complexity of the algorithm was too high. That's why I never proposed

Re: [RFD] sched/deadline: EDF dynamic quota design

2014-06-18 Thread xiaofeng.yan
On 2014/6/17 16:01, Luca Abeni wrote: Hi, On 06/17/2014 04:43 AM, xiaofeng.yan wrote: [...] The basic ideas are (warning! This is an over-simplification of the algorithm! :) - You assign runtime and period to each SCHED_DEADLINE task as usual - Each task is guaranteed to receive its runtime

Re: [RFD] sched/deadline: EDF dynamic quota design

2014-06-18 Thread xiaofeng.yan
On 2014/6/17 16:01, Luca Abeni wrote: Hi, On 06/17/2014 04:43 AM, xiaofeng.yan wrote: [...] The basic ideas are (warning! This is an over-simplification of the algorithm! :) - You assign runtime and period to each SCHED_DEADLINE task as usual - Each task is guaranteed to receive its runtime

Re: [RFD] sched/deadline: EDF dynamic quota design

2014-06-16 Thread xiaofeng.yan
On 2014/5/21 20:45, Luca Abeni wrote: Hi, first of all, sorry for the ultra-delayed reply: I've been busy, and I did not notice this email... Anyway, some comments are below On 05/16/2014 09:11 AM, Henrik Austad wrote: [...] This can also be implemented in user-space (without modifying the

Re: [RFD] sched/deadline: EDF dynamic quota design

2014-06-16 Thread xiaofeng.yan
On 2014/5/21 20:45, Luca Abeni wrote: Hi, first of all, sorry for the ultra-delayed reply: I've been busy, and I did not notice this email... Anyway, some comments are below On 05/16/2014 09:11 AM, Henrik Austad wrote: [...] This can also be implemented in user-space (without modifying the

[tip:sched/core] sched/rt: Fix 'struct sched_dl_entity' and dl_task_time() comments, to match the current upstream code

2014-05-22 Thread tip-bot for xiaofeng.yan
Commit-ID: 4027d080854d1be96ef134a1c3024d5276114db6 Gitweb: http://git.kernel.org/tip/4027d080854d1be96ef134a1c3024d5276114db6 Author: xiaofeng.yan AuthorDate: Fri, 9 May 2014 03:21:27 + Committer: Ingo Molnar CommitDate: Thu, 22 May 2014 11:16:37 +0200 sched/rt: Fix 'struct

[tip:sched/core] sched/rt: Fix 'struct sched_dl_entity' and dl_task_time() comments, to match the current upstream code

2014-05-22 Thread tip-bot for xiaofeng.yan
Commit-ID: 4027d080854d1be96ef134a1c3024d5276114db6 Gitweb: http://git.kernel.org/tip/4027d080854d1be96ef134a1c3024d5276114db6 Author: xiaofeng.yan xiaofeng@huawei.com AuthorDate: Fri, 9 May 2014 03:21:27 + Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 22 May 2014 11

[tip:sched/core] sched/rt: Fix a comment in deadline.c

2014-05-19 Thread tip-bot for xiaofeng.yan
Commit-ID: 6e9a8b9d6a9257bc124a1609f25597064ef9c167 Gitweb: http://git.kernel.org/tip/6e9a8b9d6a9257bc124a1609f25597064ef9c167 Author: xiaofeng.yan AuthorDate: Mon, 12 May 2014 07:41:17 + Committer: Thomas Gleixner CommitDate: Mon, 19 May 2014 22:02:42 +0900 sched/rt: Fix

[tip:sched/core] sched/rt: Fix a comment in struct sched_dl_entity

2014-05-19 Thread tip-bot for xiaofeng.yan
Commit-ID: c07a16f784dfb8083c3b0157fbef18cb1292b9fc Gitweb: http://git.kernel.org/tip/c07a16f784dfb8083c3b0157fbef18cb1292b9fc Author: xiaofeng.yan AuthorDate: Fri, 9 May 2014 03:21:27 + Committer: Thomas Gleixner CommitDate: Mon, 19 May 2014 22:02:42 +0900 sched/rt: Fix a comment

[tip:sched/core] sched/rt: Fix a comment in struct sched_dl_entity

2014-05-19 Thread tip-bot for xiaofeng.yan
Commit-ID: c07a16f784dfb8083c3b0157fbef18cb1292b9fc Gitweb: http://git.kernel.org/tip/c07a16f784dfb8083c3b0157fbef18cb1292b9fc Author: xiaofeng.yan xiaofeng@huawei.com AuthorDate: Fri, 9 May 2014 03:21:27 + Committer: Thomas Gleixner t...@linutronix.de CommitDate: Mon, 19 May

[tip:sched/core] sched/rt: Fix a comment in deadline.c

2014-05-19 Thread tip-bot for xiaofeng.yan
Commit-ID: 6e9a8b9d6a9257bc124a1609f25597064ef9c167 Gitweb: http://git.kernel.org/tip/6e9a8b9d6a9257bc124a1609f25597064ef9c167 Author: xiaofeng.yan xiaofeng@huawei.com AuthorDate: Mon, 12 May 2014 07:41:17 + Committer: Thomas Gleixner t...@linutronix.de CommitDate: Mon, 19 May

[PATCH] sched/rt: Fix a comment in deadline.c

2014-05-12 Thread xiaofeng.yan
EDF use sched_setattr() instead of sched_setscheduler(). Signed-off-by: xiaofeng.yan --- kernel/sched/deadline.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index b080957..558e41a 100644 --- a/kernel/sched/deadline.c

[PATCH] sched/rt: Fix a comment in deadline.c

2014-05-12 Thread xiaofeng.yan
EDF use sched_setattr() instead of sched_setscheduler(). Signed-off-by: xiaofeng.yan xiaofeng@huawei.com --- kernel/sched/deadline.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index b080957..558e41a 100644

[PATCH] sched/rt: Fix a comment in struct sched_dl_entity

2014-05-08 Thread xiaofeng.yan
-by: xiaofeng.yan --- include/linux/sched.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 25f54c7..ed64468 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1123,8 +1123,8 @@ struct sched_dl_entity

Re: [PATCH] sched/rt: Fix a comment in struct sched_dl_entity

2014-05-08 Thread xiaofeng.yan
On 2014/5/8 19:04, Peter Zijlstra wrote: On Thu, May 08, 2014 at 10:31:20AM +, xiaofeng.yan wrote: Change sched_setscheduler2() to sched_setscheduler() in the comments. There isn't function sched_setscheduler2() in the main line. The previous EDF version defines this function before being

[PATCH] sched/rt: Fix a comment in struct sched_dl_entity

2014-05-08 Thread xiaofeng.yan
. Signed-off-by: xiaofeng.yan --- include/linux/sched.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 25f54c7..fe263e7 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1123,8 +1123,8 @@ struct

[PATCH] sched/rt: Fix a comment in struct sched_dl_entity

2014-05-08 Thread xiaofeng.yan
. Signed-off-by: xiaofeng.yan xiaofeng@huawei.com --- include/linux/sched.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 25f54c7..fe263e7 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1123,8 +1123,8

Re: [PATCH] sched/rt: Fix a comment in struct sched_dl_entity

2014-05-08 Thread xiaofeng.yan
On 2014/5/8 19:04, Peter Zijlstra wrote: On Thu, May 08, 2014 at 10:31:20AM +, xiaofeng.yan wrote: Change sched_setscheduler2() to sched_setscheduler() in the comments. There isn't function sched_setscheduler2() in the main line. The previous EDF version defines this function before being

[PATCH] sched/rt: Fix a comment in struct sched_dl_entity

2014-05-08 Thread xiaofeng.yan
-by: xiaofeng.yan xiaofeng@huawei.com --- include/linux/sched.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 25f54c7..ed64468 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1123,8 +1123,8 @@ struct