Re: [ARM64] Printing IRQ stack usage information

2018-11-15 Thread Pintu Agarwal
On Thu, 15 Nov 2018, 10:19 pm > On Thu, 15 Nov 2018 18:52:39 +0530, Pintu Agarwal said: > > > Currently, when I tested this (as a proc interface), I got the below output: > > CPUUNUSED-STACKACTUAL-STACK > > 0 16368 16384 > > > 3) How should I test it to get

Re: a question on mapping from PTE to swap entry

2018-11-15 Thread valdis . kletnieks
On Thu, 15 Nov 2018 23:53:56 +0800, "Larry" said: > I'm curious when multiple process has the same PTE which points to the > samepage, > how can kernel differenciate which page from swap space should be swappedin? The PTE tells where in /dev/swap to find the page. If it's a shared page, the

High IO load cause kswapd hang and unresponsive system

2018-11-15 Thread Naruto Nguyen
Hi everyone, Recently when I upgrade my kernel from 3.12.61 to kernel 4.4.74, I find my system sometimes is very slow and unresponsive When my system is under a heavy IO load, I see the node start to respond very slow, the IO wait time keeps very high, and the node starts unresponsive. I try to

Re: [ARM64] Printing IRQ stack usage information

2018-11-15 Thread valdis . kletnieks
On Thu, 15 Nov 2018 18:52:39 +0530, Pintu Agarwal said: > Currently, when I tested this (as a proc interface), I got the below output: > CPUUNUSED-STACKACTUAL-STACK > 0 16368 16384 > 3) How should I test it to get the different usage values for unused stack ?

a question on mapping from PTE to swap entry

2018-11-15 Thread Larry
Hi all, It's quoted that "When a page is swapped out, Linux uses the correspondingPTE to store enough information to locate the page on disk again". I'm curious when multiple process has the same PTE which points to the samepage, how can kernel differenciate which page from swap space should

[ARM64] Printing IRQ stack usage information

2018-11-15 Thread Pintu Agarwal
Hi All, I have a requirement in printing irq stack usage information for each cpu. I am using the following: Linux Kernel: 4.9.x Board: hikey620 (arm64, armv8 with 8 cores) Platform: Ubuntu 14 debian As a vague idea, I tried to implement like this: