Add additional ioctl() values to rtc so that it can 'admit' the calling
thread into a red-black tree for tracking, set the execution slot pattern,
support for setting whether read() will yield or block.
Signed-off-by: Bill Huey (hui)
---
include/uapi/linux/rtc.h | 4
1 file changed, 4
Task tracking per file descriptor for thread death clean up.
Signed-off-by: Bill Huey (hui)
---
drivers/rtc/class.c | 3 +++
include/linux/rtc.h | 3 +++
2 files changed, 6 insertions(+)
diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c
index 74fd974..ad570b9 100644
--- a/drivers/rtc
like to also credit Marco Ballesio from Palm as well for the
multimedia insights. I omitted that in my first message. Hope the
build bots like these changes :)
bill
---
Bill Huey (hui) (12):
Kconfig change
Reroute rtc update irqs to the cyclic scheduler handler
Add cyclic support to rtc
Makefile changes to support the menuconfig option
Signed-off-by: Bill Huey (hui) <bill.h...@gmail.com>
---
kernel/sched/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/sched/Makefile b/kernel/sched/Makefile
index 302d6eb..df8e131 100644
--- a/kernel/sched/Makefile
Makefile changes to support the menuconfig option
Signed-off-by: Bill Huey (hui)
---
kernel/sched/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/sched/Makefile b/kernel/sched/Makefile
index 302d6eb..df8e131 100644
--- a/kernel/sched/Makefile
+++ b/kernel/sched/Makefile
Core implementation of the cyclic scheduler that includes admittance
handling, thread death supprot, cyclic timer tick handler, primitive proc
debugging interface, wait-queue modifications.
Signed-off-by: Bill Huey (hui) <bill.h...@gmail.com>
---
kernel/sched/cyclic.c
be SCHED_FIFO.
Signed-off-by: Bill Huey (hui) <bill.h...@gmail.com>
---
kernel/sched/core.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 44db0ff..cf6cf57 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -87,6
Core implementation of the cyclic scheduler that includes admittance
handling, thread death supprot, cyclic timer tick handler, primitive proc
debugging interface, wait-queue modifications.
Signed-off-by: Bill Huey (hui)
---
kernel/sched/cyclic.c| 620
be SCHED_FIFO.
Signed-off-by: Bill Huey (hui)
---
kernel/sched/core.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 44db0ff..cf6cf57 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -87,6 +87,10 @@
#include
Anonymous struct initialization
Signed-off-by: Bill Huey (hui) <bill.h...@gmail.com>
---
include/linux/init_task.h | 18 ++
1 file changed, 18 insertions(+)
diff --git a/include/linux/init_task.h b/include/linux/init_task.h
index f2cb8d4..ac9b0d9 100644
--- a/include
Anonymous struct initialization
Signed-off-by: Bill Huey (hui)
---
include/linux/init_task.h | 18 ++
1 file changed, 18 insertions(+)
diff --git a/include/linux/init_task.h b/include/linux/init_task.h
index f2cb8d4..ac9b0d9 100644
--- a/include/linux/init_task.h
+++ b/include
Initial attempt at documentation with a test program
Signed-off-by: Bill Huey (hui) <bill.h...@gmail.com>
---
Documentation/scheduler/sched-cyclic-rtc.txt | 468 +++
1 file changed, 468 insertions(+)
create mode 100644 Documentation/scheduler/sched-cyclic-rtc.txt
Add an anonymous struct to support admittance using a red-black tree,
overrun tracking, state for whether or not to yield or block, debugging
support, execution slot pattern for the scheduler.
Signed-off-by: Bill Huey (hui) <bill.h...@gmail.com>
---
include/linux/sched.h | 15
Initial attempt at documentation with a test program
Signed-off-by: Bill Huey (hui)
---
Documentation/scheduler/sched-cyclic-rtc.txt | 468 +++
1 file changed, 468 insertions(+)
create mode 100644 Documentation/scheduler/sched-cyclic-rtc.txt
diff --git a/Documentation
Add an anonymous struct to support admittance using a red-black tree,
overrun tracking, state for whether or not to yield or block, debugging
support, execution slot pattern for the scheduler.
Signed-off-by: Bill Huey (hui)
---
include/linux/sched.h | 15 +++
1 file changed, 15
Redirect rtc update irqs so that it drives the cyclic scheduler timer
handler instead. Let the handler determine which slot to activate next.
Similar to scheduler tick handling but just for the cyclic scheduler.
Signed-off-by: Bill Huey (hui) <bill.h...@gmail.com>
---
drivers/rtc/inter
Redirect rtc update irqs so that it drives the cyclic scheduler timer
handler instead. Let the handler determine which slot to activate next.
Similar to scheduler tick handling but just for the cyclic scheduler.
Signed-off-by: Bill Huey (hui)
---
drivers/rtc/interface.c | 23
Hi,
On Wed, Apr 13, 2016 at 3:08 AM, Juri Lelli wrote:
> I'm not sure what you mean by "localized", but I believe DEADLINE should
> be used more widely to service the same kind of applications you are
> referring to. It's still a quite new addition to the scheduler, so it is
Hi,
On Wed, Apr 13, 2016 at 3:08 AM, Juri Lelli wrote:
> I'm not sure what you mean by "localized", but I believe DEADLINE should
> be used more widely to service the same kind of applications you are
> referring to. It's still a quite new addition to the scheduler, so it is
> understandable
[Trying to resend this so that linux-kernel mailer doesn't reject it.
ok just found plain text mode. Will cull the CC list in future
responses]
Hi Juri,
It's not for replacing deadline first of all. I'm not fully aware of the
kind of things being done with deadline and I would like links so that
[Trying to resend this so that linux-kernel mailer doesn't reject it.
ok just found plain text mode. Will cull the CC list in future
responses]
Hi Juri,
It's not for replacing deadline first of all. I'm not fully aware of the
kind of things being done with deadline and I would like links so that
wait-queue changes to rtc_dev_read so that it can support overrun count
reporting when multiple threads are blocked against a single wait object.
ioctl() additions to allow for those calling it to admit the thread to the
cyclic scheduler.
Signed-off-by: Bill Huey (hui) <bill.h...@gmail.
Task tracking per file descriptor for thread death clean up.
Signed-off-by: Bill Huey (hui) <bill.h...@gmail.com>
---
drivers/rtc/class.c | 3 +++
include/linux/rtc.h | 3 +++
2 files changed, 6 insertions(+)
diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c
index 74fd974..ad570b9
wait-queue changes to rtc_dev_read so that it can support overrun count
reporting when multiple threads are blocked against a single wait object.
ioctl() additions to allow for those calling it to admit the thread to the
cyclic scheduler.
Signed-off-by: Bill Huey (hui)
---
drivers/rtc/rtc
Task tracking per file descriptor for thread death clean up.
Signed-off-by: Bill Huey (hui)
---
drivers/rtc/class.c | 3 +++
include/linux/rtc.h | 3 +++
2 files changed, 6 insertions(+)
diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c
index 74fd974..ad570b9 100644
--- a/drivers/rtc
SCHED_FIFO/RT tail/head runqueue insertion support, initial thread death
support via a hook to the scheduler class. Thread death must include
additional semantics to remove/discharge an admitted task properly.
Signed-off-by: Bill Huey (hui) <bill.h...@gmail.com>
---
kernel/sched/rt.
Add an anonymous struct to support admittance using a red-black tree,
overrun tracking, state for whether or not to yield or block, debugging
support, execution slot pattern for the scheduler.
Signed-off-by: Bill Huey (hui) <bill.h...@gmail.com>
---
include/linux/sched.h | 15
Redirect rtc update irqs so that it drives the cyclic scheduler timer
handler instead. Let the handler determine which slot to activate next.
Similar to scheduler tick handling but just for the cyclic scheduler.
Signed-off-by: Bill Huey (hui) <bill.h...@gmail.com>
---
drivers/rtc/inter
SCHED_FIFO/RT tail/head runqueue insertion support, initial thread death
support via a hook to the scheduler class. Thread death must include
additional semantics to remove/discharge an admitted task properly.
Signed-off-by: Bill Huey (hui)
---
kernel/sched/rt.c | 41
Add an anonymous struct to support admittance using a red-black tree,
overrun tracking, state for whether or not to yield or block, debugging
support, execution slot pattern for the scheduler.
Signed-off-by: Bill Huey (hui)
---
include/linux/sched.h | 15 +++
1 file changed, 15
Redirect rtc update irqs so that it drives the cyclic scheduler timer
handler instead. Let the handler determine which slot to activate next.
Similar to scheduler tick handling but just for the cyclic scheduler.
Signed-off-by: Bill Huey (hui)
---
drivers/rtc/interface.c | 23
Add the selection options for the cyclic scheduler
Signed-off-by: Bill Huey (hui) <bill.h...@gmail.com>
---
drivers/rtc/Kconfig | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 544bd34..8a1b704 100644
--- a/drivers/rtc/Kconfig
+++ b/d
Makefile changes to support the menuconfig option
Signed-off-by: Bill Huey (hui) <bill.h...@gmail.com>
---
kernel/sched/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/sched/Makefile b/kernel/sched/Makefile
index 302d6eb..df8e131 100644
--- a/kernel/sched/Makefile
Add the selection options for the cyclic scheduler
Signed-off-by: Bill Huey (hui)
---
drivers/rtc/Kconfig | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 544bd34..8a1b704 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -73,6
Makefile changes to support the menuconfig option
Signed-off-by: Bill Huey (hui)
---
kernel/sched/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/sched/Makefile b/kernel/sched/Makefile
index 302d6eb..df8e131 100644
--- a/kernel/sched/Makefile
+++ b/kernel/sched/Makefile
Add additional ioctl() values to rtc so that it can 'admit' the calling
thread into a red-black tree for tracking, set the execution slot pattern,
support for setting whether read() will yield or block.
Signed-off-by: Bill Huey (hui) <bill.h...@gmail.com>
---
include/uapi/linux/rtc.h | 4 +
Add additional ioctl() values to rtc so that it can 'admit' the calling
thread into a red-black tree for tracking, set the execution slot pattern,
support for setting whether read() will yield or block.
Signed-off-by: Bill Huey (hui)
---
include/uapi/linux/rtc.h | 4
1 file changed, 4
Initial attempt at documentation with a test program
Signed-off-by: Bill Huey (hui) <bill.h...@gmail.com>
---
Documentation/scheduler/sched-cyclic-rtc.txt | 468 +++
1 file changed, 468 insertions(+)
create mode 100644 Documentation/scheduler/sched-cyclic-rtc.txt
Initial attempt at documentation with a test program
Signed-off-by: Bill Huey (hui)
---
Documentation/scheduler/sched-cyclic-rtc.txt | 468 +++
1 file changed, 468 insertions(+)
create mode 100644 Documentation/scheduler/sched-cyclic-rtc.txt
diff --git a/Documentation
be SCHED_FIFO.
Signed-off-by: Bill Huey (hui) <bill.h...@gmail.com>
---
kernel/sched/core.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 44db0ff..cf6cf57 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -87,6
Core implementation of the cyclic scheduler that includes admittance
handling, thread death supprot, cyclic timer tick handler, primitive proc
debugging interface, wait-queue modifications.
Signed-off-by: Bill Huey (hui) <bill.h...@gmail.com>
---
kernel/sched/cyclic.c
like this and -rt shipped as default in the near future.
[Also, I'd love some kind of sponsorship to continue what I think is
critical work versus heading back into the valley]
---
Bill Huey (hui) (12):
Kconfig change
Reroute rtc update irqs to the cyclic scheduler handler
Add cyclic
Anonymous struct initialization
Signed-off-by: Bill Huey (hui) <bill.h...@gmail.com>
---
include/linux/init_task.h | 18 ++
1 file changed, 18 insertions(+)
diff --git a/include/linux/init_task.h b/include/linux/init_task.h
index f2cb8d4..308caf6 100644
--- a/include
be SCHED_FIFO.
Signed-off-by: Bill Huey (hui)
---
kernel/sched/core.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 44db0ff..cf6cf57 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -87,6 +87,10 @@
#include
Core implementation of the cyclic scheduler that includes admittance
handling, thread death supprot, cyclic timer tick handler, primitive proc
debugging interface, wait-queue modifications.
Signed-off-by: Bill Huey (hui)
---
kernel/sched/cyclic.c| 620
like this and -rt shipped as default in the near future.
[Also, I'd love some kind of sponsorship to continue what I think is
critical work versus heading back into the valley]
---
Bill Huey (hui) (12):
Kconfig change
Reroute rtc update irqs to the cyclic scheduler handler
Add cyclic
Anonymous struct initialization
Signed-off-by: Bill Huey (hui)
---
include/linux/init_task.h | 18 ++
1 file changed, 18 insertions(+)
diff --git a/include/linux/init_task.h b/include/linux/init_task.h
index f2cb8d4..308caf6 100644
--- a/include/linux/init_task.h
+++ b/include
The idea of this patch is same with prev version [1]. But it use the
migration frame in [1].
[1] http://comments.gmane.org/gmane.linux.kernel.mm/140014
[2] https://lkml.org/lkml/2015/7/7/21
Signed-off-by: Hui Zhu
---
mm/zsmalloc.c | 214
These patches updated according to the review for the prev version [1].
So they are based on "[RFCv3 0/5] enable migration of driver pages" [2]
and "[RFC zsmalloc 0/4] meta diet" [3].
Hui Zhu (3):
zsmalloc: make struct can move
zsmalloc: mark its page "PageMobile"
zr
kml/2015/8/10/90
[2] https://lkml.org/lkml/2015/7/7/21
Signed-off-by: Hui Zhu
---
mm/zsmalloc.c | 178 ++
1 file changed, 104 insertions(+), 74 deletions(-)
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index 1b18144..57c91a5 100644
--- a/mm/
Change the flags when call zs_create_pool to make zram alloc movable
zsmalloc page.
Signed-off-by: Hui Zhu
---
drivers/block/zram/zram_drv.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c
index 9fa15bb
The idea of this patch is same with prev version [1]. But it use the
migration frame in [1].
[1] http://comments.gmane.org/gmane.linux.kernel.mm/140014
[2] https://lkml.org/lkml/2015/7/7/21
Signed-off-by: Hui Zhu <zhu...@xiaomi.com>
---
mm/zsmalloc.c
Change the flags when call zs_create_pool to make zram alloc movable
zsmalloc page.
Signed-off-by: Hui Zhu <zhu...@xiaomi.com>
---
drivers/block/zram/zram_drv.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram
kml/2015/8/10/90
[2] https://lkml.org/lkml/2015/7/7/21
Signed-off-by: Hui Zhu <zhu...@xiaomi.com>
---
mm/zsmalloc.c | 178 ++
1 file changed, 104 insertions(+), 74 deletions(-)
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index 1b18144
These patches updated according to the review for the prev version [1].
So they are based on "[RFCv3 0/5] enable migration of driver pages" [2]
and "[RFC zsmalloc 0/4] meta diet" [3].
Hui Zhu (3):
zsmalloc: make struct can move
zsmalloc: mark its page "PageMobile"
zr
On Thu, Oct 15, 2015 at 5:53 PM, Minchan Kim wrote:
> On Thu, Oct 15, 2015 at 11:27:15AM +0200, Vlastimil Babka wrote:
>> On 10/15/2015 11:09 AM, Hui Zhu wrote:
>> >I got that add function interfaces is really not a good idea.
>> >So I add a new struct migration to p
On Thu, Oct 15, 2015 at 5:53 PM, Minchan Kim <minc...@kernel.org> wrote:
> On Thu, Oct 15, 2015 at 11:27:15AM +0200, Vlastimil Babka wrote:
>> On 10/15/2015 11:09 AM, Hui Zhu wrote:
>> >I got that add function interfaces is really not a good idea.
>> >So I add
Thanks. I will post a new version later.
Best,
Hui
On Tue, Oct 13, 2015 at 4:00 PM, Sergey Senozhatsky
wrote:
> On (10/13/15 14:31), Hui Zhu wrote:
>> Signed-off-by: Hui Zhu
>
> s/unless/useless/
>
> other than that
>
> Reviewed-by: Sergey Senozhatsky
>
Signed-off-by: Hui Zhu
Reviewed-by: Sergey Senozhatsky
---
mm/zsmalloc.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index f135b1b..c7338f0 100644
--- a/mm/zsmalloc.c
+++ b/mm/zsmalloc.c
@@ -1428,8 +1428,6 @@ static void obj_free(struct zs_pool *pool
Signed-off-by: Hui Zhu
---
mm/zsmalloc.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index f135b1b..c7338f0 100644
--- a/mm/zsmalloc.c
+++ b/mm/zsmalloc.c
@@ -1428,8 +1428,6 @@ static void obj_free(struct zs_pool *pool, struct
size_class *class
Signed-off-by: Hui Zhu <zhu...@xiaomi.com>
---
mm/zsmalloc.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index f135b1b..c7338f0 100644
--- a/mm/zsmalloc.c
+++ b/mm/zsmalloc.c
@@ -1428,8 +1428,6 @@ static void obj_free(struct zs_pool *pool,
Signed-off-by: Hui Zhu <zhu...@xiaomi.com>
Reviewed-by: Sergey Senozhatsky <sergey.senozhat...@gmail.com>
---
mm/zsmalloc.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index f135b1b..c7338f0 100644
--- a/mm/zsmalloc.c
+++ b/mm/zsmalloc.c
@@ -14
Thanks. I will post a new version later.
Best,
Hui
On Tue, Oct 13, 2015 at 4:00 PM, Sergey Senozhatsky
<sergey.senozhatsky.w...@gmail.com> wrote:
> On (10/13/15 14:31), Hui Zhu wrote:
>> Signed-off-by: Hui Zhu <zhu...@xiaomi.com>
>
> s/unless/useless/
>
> other
e reason why there is no problem until now is huge-class page is
born with ZS_FULL so it couldn't be migrated.
Therefore, it shouldn't be real bug in practice.
However, we need this patch for future-work "VM-aware zsmalloced
page migration" to reduce external fragmentation.
Signed-off-by: Hui
On Tue, Oct 6, 2015 at 9:54 PM, Minchan Kim wrote:
> Hello,
>
> On Mon, Oct 05, 2015 at 04:23:01PM +0800, Hui Zhu wrote:
>> In function obj_malloc:
>> if (!class->huge)
>> /* record handle in the header of allocated chunk */
>>
On Tue, Oct 6, 2015 at 9:54 PM, Minchan Kim <minc...@kernel.org> wrote:
> Hello,
>
> On Mon, Oct 05, 2015 at 04:23:01PM +0800, Hui Zhu wrote:
>> In function obj_malloc:
>> if (!class->huge)
>> /* record handle in the header of allocated ch
e reason why there is no problem until now is huge-class page is
born with ZS_FULL so it couldn't be migrated.
Therefore, it shouldn't be real bug in practice.
However, we need this patch for future-work "VM-aware zsmalloced
page migration" to reduce external fragmentation.
Signed-off-by: Hui
page_private(page) as value but not pointer
in obj_to_head.
Signed-off-by: Hui Zhu
---
mm/zsmalloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index f135b1b..e881d4f 100644
--- a/mm/zsmalloc.c
+++ b/mm/zsmalloc.c
@@ -824,7 +824,7 @@ static u
page_private(page) as value but not pointer
in obj_to_head.
Signed-off-by: Hui Zhu <zhu...@xiaomi.com>
---
mm/zsmalloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index f135b1b..e881d4f 100644
--- a/mm/zsmalloc.c
+++ b/mm/zsmalloc.
Signed-off-by: Hui Zhu
---
mm/zsmalloc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index f135b1b..f62f2fb 100644
--- a/mm/zsmalloc.c
+++ b/mm/zsmalloc.c
@@ -38,6 +38,7 @@
* page->lru: links together first pages of various zspa
Signed-off-by: Hui Zhu <zhu...@xiaomi.com>
---
mm/zsmalloc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index f135b1b..f62f2fb 100644
--- a/mm/zsmalloc.c
+++ b/mm/zsmalloc.c
@@ -38,6 +38,7 @@
* page->lru: links together first pages of variou
Signed-off-by: Hui Zhu
---
mm/zsmalloc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index f135b1b..1f66d5b 100644
--- a/mm/zsmalloc.c
+++ b/mm/zsmalloc.c
@@ -38,6 +38,7 @@
* page->lru: links together first pages of various zspa
Signed-off-by: Hui Zhu <zhu...@xiaomi.com>
---
mm/zsmalloc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index f135b1b..1f66d5b 100644
--- a/mm/zsmalloc.c
+++ b/mm/zsmalloc.c
@@ -38,6 +38,7 @@
* page->lru: links together first pages of variou
On 06/29/2015 08:49 AM, Hui Wang wrote:
On 06/27/2015 11:03 AM, Raymond Yau wrote:
Most Thinkpad Edge series laptops use conexant codec, so far
although
Is there anything I can debug or any information I can collect
from my
box to examine this?
What is the linux distribution on your machine
On 06/29/2015 08:49 AM, Hui Wang wrote:
On 06/27/2015 11:03 AM, Raymond Yau wrote:
Most Thinkpad Edge series laptops use conexant codec, so far
although
snip
Is there anything I can debug or any information I can collect
from my
box to examine this?
What is the linux distribution on your
On 06/27/2015 11:03 AM, Raymond Yau wrote:
Most Thinkpad Edge series laptops use conexant codec, so far
although
Is there anything I can debug or any information I can collect
from my
box to examine this?
What is the linux distribution on your machine? And use showkey to
catch
the keycode of
On 06/27/2015 11:03 AM, Raymond Yau wrote:
Most Thinkpad Edge series laptops use conexant codec, so far
although
snip
Is there anything I can debug or any information I can collect
from my
box to examine this?
What is the linux distribution on your machine? And use showkey to
catch
the
*
Call for Topics and Sponsors
Workshop on Open Source Development Tools 2015
Beijing, China
Sep. 12, 2015 (TBD)
HelloGCC Work Group (www.hellogcc.org)
*
On 06/25/2015 07:02 PM, Jan Kiszka wrote:
On 2015-06-24 10:46, Hui Wang wrote:
On 06/24/2015 01:37 PM, Jan Kiszka wrote:
On 2015-05-23 18:22, Jan Kiszka wrote:
On 2015-05-23 18:06, Raymond Yau wrote:
2015-5-23 下午4:50 於 "Jan Kiszka" 寫道:
Most Thinkpad Edge series laptops use cone
*
Call for Topics and Sponsors
Workshop on Open Source Development Tools 2015
Beijing, China
Sep. 12, 2015 (TBD)
HelloGCC Work Group (www.hellogcc.org)
*
On 06/25/2015 07:02 PM, Jan Kiszka wrote:
On 2015-06-24 10:46, Hui Wang wrote:
On 06/24/2015 01:37 PM, Jan Kiszka wrote:
On 2015-05-23 18:22, Jan Kiszka wrote:
On 2015-05-23 18:06, Raymond Yau wrote:
2015-5-23 下午4:50 於 Jan Kiszka jan.kis...@web.de 寫道:
Most Thinkpad Edge series laptops use
On 06/24/2015 01:37 PM, Jan Kiszka wrote:
On 2015-05-23 18:22, Jan Kiszka wrote:
On 2015-05-23 18:06, Raymond Yau wrote:
2015-5-23 下午4:50 於 "Jan Kiszka" 寫道:
Most Thinkpad Edge series laptops use conexant codec, so far
although
Is there anything I can debug or any information I can collect
On 06/24/2015 01:37 PM, Jan Kiszka wrote:
On 2015-05-23 18:22, Jan Kiszka wrote:
On 2015-05-23 18:06, Raymond Yau wrote:
2015-5-23 下午4:50 於 Jan Kiszka jan.kis...@web.de 寫道:
Most Thinkpad Edge series laptops use conexant codec, so far
although
snip
Is there anything I can debug or any
On Wed, May 6, 2015 at 2:28 PM, Joonsoo Kim wrote:
> On Tue, May 05, 2015 at 11:22:59AM +0800, Hui Zhu wrote:
>> Change pfn_present to pfn_valid_within according to the review of Laura.
>>
>> I got a issue:
>> [ 214.294917] Unable to handle kernel NULL pointer derefer
dx - page_idx);
if (!is_migrate_isolate_page(buddy)) {
But the begin addr of this part of CMA memory is very close to a part of
memory that is reserved in the boot time (not in buddy system).
So add a check before access it.
Suggested-by: Laura Abbott
Suggested-by: Joonsoo Kim
Signed-off-by: Hui Zhu
---
mm/page_is
On Wed, May 6, 2015 at 2:28 PM, Joonsoo Kim iamjoonsoo@lge.com wrote:
On Tue, May 05, 2015 at 11:22:59AM +0800, Hui Zhu wrote:
Change pfn_present to pfn_valid_within according to the review of Laura.
I got a issue:
[ 214.294917] Unable to handle kernel NULL pointer dereference at virtual
Abbott labb...@redhat.com
Suggested-by: Joonsoo Kim iamjoonsoo@lge.com
Signed-off-by: Hui Zhu zhu...@xiaomi.com
---
mm/page_isolation.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mm/page_isolation.c b/mm/page_isolation.c
index 755a42c..4a5624c 100644
--- a/mm
On Wed, May 6, 2015 at 5:29 AM, Andrew Morton wrote:
> On Tue, 5 May 2015 11:22:59 +0800 Hui Zhu wrote:
>
>> Change pfn_present to pfn_valid_within according to the review of Laura.
>>
>> I got a issue:
>> [ 214.294917] Unable to handle kernel NULL pointer dere
On Wed, May 6, 2015 at 5:29 AM, Andrew Morton a...@linux-foundation.org wrote:
On Tue, 5 May 2015 11:22:59 +0800 Hui Zhu zhu...@xiaomi.com wrote:
Change pfn_present to pfn_valid_within according to the review of Laura.
I got a issue:
[ 214.294917] Unable to handle kernel NULL pointer
emory is very close to a part of
memory that is reserved in the boot time (not in buddy system).
So add a check before access it.
Signed-off-by: Hui Zhu
---
mm/page_isolation.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mm/page_isolation.c b/mm/page_isolation.c
index 755
On Tue, May 5, 2015 at 2:34 AM, Laura Abbott wrote:
> On 05/04/2015 02:41 AM, Hui Zhu wrote:
>>
>> I got a issue:
>> [ 214.294917] Unable to handle kernel NULL pointer dereference at virtual
>> address 082a
>> [ 214.303013] pgd = cc97
>>
(not in buddy system).
So add a check before access it.
Signed-off-by: Hui Zhu
---
mm/page_isolation.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mm/page_isolation.c b/mm/page_isolation.c
index 755a42c..434730b 100644
--- a/mm/page_isolation.c
+++ b/mm/page_isolation.c
@@
memory is very close to a part of
memory that is reserved in the boot time (not in buddy system).
So add a check before access it.
Signed-off-by: Hui Zhu zhu...@xiaomi.com
---
mm/page_isolation.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mm/page_isolation.c b/mm
On Tue, May 5, 2015 at 2:34 AM, Laura Abbott labb...@redhat.com wrote:
On 05/04/2015 02:41 AM, Hui Zhu wrote:
I got a issue:
[ 214.294917] Unable to handle kernel NULL pointer dereference at virtual
address 082a
[ 214.303013] pgd = cc97
[ 214.305721] [082a] *pgd=
);
if (!is_migrate_isolate_page(buddy)) {
But the begin addr of this part of CMA memory is very close to a part of
memory that is reserved in the boot time (not in buddy system).
So add a check before access it.
Signed-off-by: Hui Zhu zhu...@xiaomi.com
---
mm/page_isolation.c | 3 ++-
1 file changed, 2
On Mon, Jan 19, 2015 at 2:55 PM, Minchan Kim wrote:
> Hello,
>
> On Sun, Jan 18, 2015 at 04:32:59PM +0800, Hui Zhu wrote:
>> From: Hui Zhu
>>
>> The original of this patch [1] is part of Joonsoo's CMA patch series.
>> I made a patch [2] to fix the issue of
On Sun, Jan 18, 2015 at 6:19 PM, Vlastimil Babka wrote:
> On 18.1.2015 10:17, Hui Zhu wrote:
>>
>> From: Hui Zhu
>>
>> To test the patch [1], I use KGTP and a script [2] to show
>> NR_FREE_CMA_PAGES
>> and gross of cma_nr_free. The values are always not s
From: Hui Zhu
To test the patch [1], I use KGTP and a script [2] to show NR_FREE_CMA_PAGES
and gross of cma_nr_free. The values are always not same.
I check the code of pages alloc and free and found that race conditions
on getting migratetype in buffered_rmqueue.
Then I add move the code
From: Hui Zhu
The original of this patch [1] is part of Joonsoo's CMA patch series.
I made a patch [2] to fix the issue of this patch. Joonsoo reminded me
that this issue affect current kernel too. So made a new one for upstream.
Current code treat free cma pages as non-free if not ALLOC_CMA
On Sun, Jan 18, 2015 at 6:19 PM, Vlastimil Babka vba...@suse.cz wrote:
On 18.1.2015 10:17, Hui Zhu wrote:
From: Hui Zhu zhu...@xiaomi.com
To test the patch [1], I use KGTP and a script [2] to show
NR_FREE_CMA_PAGES
and gross of cma_nr_free. The values are always not same.
I check the code
401 - 500 of 907 matches
Mail list logo