Hi all
If i want to trace the allocators of virtual memory and main memory of
process using ftrace on which functions i need to enable the probe.?
Currently i have enabled sys_mmap,sys_brk for virtual allocations and
mm_page_alloc, kmalloc, kmem_cache_alloc for main memory allocation.
Will this
Now I am confused. I thought the code where empty and skip are inside
the wait_event_timeout leads to empty beeing evaluated every time that
the waiting threads gets awoken.
And since some other thread might change /ar-htt.num_pending_tx/ it is
necessary to check this every time we get awoken,
On Wed, 11 Mar 2015, Bj??rn Mork wrote:
valdis.kletni...@vt.edu writes:
On Wed, 11 Mar 2015 15:17:44 +0100, Nicholas Mc Guire said:
So the wait_event_timeout condition here ends up being (empty || skip)
but what is the point of puting this code into the parameter list of
On March 11, 2015 2:37:32 PM EDT, Jeff Haran jeff.ha...@citrix.com wrote:
-Original Message-
From: kernelnewbies-boun...@kernelnewbies.org
[mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of
valdis.kletni...@vt.edu
Sent: Wednesday, March 11, 2015 10:00 AM
To: Nicholas Mc Guire
-Original Message-
From: kernelnewbies-boun...@kernelnewbies.org
[mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of
valdis.kletni...@vt.edu
Sent: Wednesday, March 11, 2015 10:00 AM
To: Nicholas Mc Guire
Cc: Bj??rn Mork; kernelnewbies@kernelnewbies.org
Subject: Re: confusing
-Original Message-
From: valdis.kletni...@vt.edu [mailto:valdis.kletni...@vt.edu]
Sent: Wednesday, March 11, 2015 11:58 AM
To: Jeff Haran
Cc: Nicholas Mc Guire; Bj??rn Mork; kernelnewbies@kernelnewbies.org
Subject: Re: confusing codewhats the point of this construct ?
On Wed, 11 Mar
On Wed, 11 Mar 2015, Jeff Haran wrote:
-Original Message-
From: kernelnewbies-boun...@kernelnewbies.org
[mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of
valdis.kletni...@vt.edu
Sent: Wednesday, March 11, 2015 10:00 AM
To: Nicholas Mc Guire
Cc: Bj??rn Mork;
On March 11, 2015 12:07:29 PM EDT, sahil aggarwal sahil.ag...@gmail.com wrote:
Hi all
If i want to trace the allocators of virtual memory and main memory of
process using ftrace on which functions i need to enable the probe.?
Currently i have enabled sys_mmap,sys_brk for virtual allocations
On Wed, 11 Mar 2015 18:37:32 -, Jeff Haran said:
I don't understand the problem here. The caller passes in a condition to be
evaluated in a loop. Many times that condition is quite simple (e.g. a counter
being non-zero). If it was a function the caller would have to pass in a
pointer to a
Greetings All,
After learning about kernel locking and how atomic operations are good in
terms of improving CPU scalability in terms of making a critical region much
smaller. I
was wondering of how this would improve file system scalability and reliability
if implemented in file system code
On Wed, 11 Mar 2015 19:03:33 -0400, Nicholas Krause said:
was wondering of how this would improve file system scalability and
reliability if implemented in file system code for btrfs worker threads.
Step 1: Figure out what locks are contended in actual systems.
Step 2: Determine if the scope
On Thu, 12 Mar 2015 07:09:32 +0530, SAHIL said:
Yeah right, pidstat which read /proc gives me VSZ ans RSS but i need to
backtrace when VSZ/RSS is high which indicates process is allocating memory
which it is not even using.
Do you mean pages it isn't *currently* using, or has *never* used?
Hi, guys:
I have a device with only one CPU. I am wondering whether there
will be only one task running on CPU and this task will not be
interrupted by scheduler if I make the kernel non-preemptive ? At this
situation, whether the time splice will not exist?
Regards
---
Rock Lee
Hi validis
Actually i want to see how much total virtual pages it asked for and how many
it actually used, how many were put to swap, how many major page faults
happened and how many faults were handled from swap.
In short whole page level analysis of thread.
Regards
Sahil Aggarwal
On Wed, 11 Mar 2015 15:17:44 +0100, Nicholas Mc Guire said:
So the wait_event_timeout condition here ends up being (empty || skip)
but what is the point of puting this code into the parameter list of
wait_event_timeout() ?
Would it not be equivalent to:
bool empty;
...
On Wed, 11 Mar 2015, valdis.kletni...@vt.edu wrote:
On Wed, 11 Mar 2015 15:17:44 +0100, Nicholas Mc Guire said:
So the wait_event_timeout condition here ends up being (empty || skip)
but what is the point of puting this code into the parameter list of
wait_event_timeout() ?
Would it
HI !
Trying to understand the intent of this code construct
drivers/net/wireless/ath/ath10k/mac.c:ath10k_flush()
snip
ret = wait_event_timeout(ar-htt.empty_tx_wq, ({
bool empty;
spin_lock_bh(ar-htt.tx_lock);
empty
On 2015-03-11 09:48 PM, valdis.kletni...@vt.edu wrote:
On Wed, 11 Mar 2015 19:03:33 -0400, Nicholas Krause said:
was wondering of how this would improve file system scalability and
reliability if implemented in file system code for btrfs worker threads.
Step 1: Figure out what locks are
Hi Nicholas
Yeah right, pidstat which read /proc gives me VSZ ans RSS but i need to
backtrace when VSZ/RSS is high which indicates process is allocating memory
which it is not even using.
And to modify the question i need to analyze allocations per thread, using
/proc will it will also
19 matches
Mail list logo