[PATCH] splice: sendfile() softlockup for big files

2019-03-17 Thread chenjie6
From: chen jie sendfile() softlockup for big files [34922.213193] [Softlockup Clock][34922213187422] [34922.213204] BUG: soft lockup - CPU#1 stuck for 60008ms! [trinity-c1:20239] [34922.213211] Modules linked in: rtos_snapshot(O) rsm(O) nfsv3 veth(O) higmac(O) comm(O) nand mtdblock mtd_blkdevs

[PATCH] futex:fix robust futex alignment exception

2019-03-14 Thread chenjie6
From: chen jie trinity test bug fix: /tmp/trinity --children 4 --quiet -N 1000 --logging=off -X -x perf_event_open --enable-fds=testfile [1542.195981] Task track: trinity-c3(6911)>trinity-main(28313)>sh(839)>bash(824)>sshd(820)>sshd(662)>init(1) [11542.214694] Alignment trap: not handling

[PATCH] memory:bugxfix panic on cat or write /dev/kmem

2016-06-23 Thread chenjie6
From: chenjie cat /dev/kmem and echo > /dev/kmem will lead panic Signed-off-by: chenjie --- drivers/char/mem.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/char/mem.c b/drivers/char/mem.c index 71025c2..4bdde28 100644 --- a/drivers/char/mem.c +++ b/drivers/char/mem.c @@ -

[PATCH] bugfix of access a invalid addr

2016-02-16 Thread chenjie6
From: chenjie when we run fs_fsbase_t, some testcase like write05 failed write05 0 TINFO : Enter Block 1: test with bad fd write05 1 TPASS : received EBADF as expected. write05 0 TINFO : Exit Block 1 write05 0 TINFO : Enter Block 2: test with a bad address write05

[PATCH] oom kill init lead panic

2015-12-01 Thread chenjie6
From: chenjie when oom happened we can see: Out of memory: Kill process 9134 (init) score 3 or sacrifice child Killed process 9134 (init) total-vm:1868kB, anon-rss:84kB, file-rss:572kB Kill process 1 (init) sharing same memory ... Kernel panic - not syncing: Attempted to kill init! exitcode=0x000

[PATCH] bugfix oom kill init lead panic

2015-11-29 Thread chenjie6
From: chenjie when oom happened we can see: Out of memory: Kill process 9134 (init) score 3 or sacrifice child Killed process 9134 (init) total-vm:1868kB, anon-rss:84kB, file-rss:572kB Kill process 1 (init) sharing same memory ... Kernel panic - not syncing: Attempted to kill i

[PATCH] jffs2: fix soft lockup when read flash error

2014-11-11 Thread chenjie6
From: chenjie we find soft lockup when read flash error --CPU#1--- BUG: soft lockup - CPU#1 stuck for 60009ms! [link.test:17707] INFO: rcu_sched detected stalls on CPUs/tasks: { 1} (detected by 0, t=247997 jiffies, g=127234, c=127233, q=373616) Tas

[PATCH] jffs2: fix soft lockup when read flash error

2014-11-11 Thread chenjie6
From: chenjie we find soft lockup when read flash error --CPU#1--- BUG: soft lockup - CPU#1 stuck for 60009ms! [link.test:17707] INFO: rcu_sched detected stalls on CPUs/tasks: { 1} (detected by 0, t=247997 jiffies, g=127234, c=127233, q=373616) Tas