Re: [PROBLEM] hard-lock with kmemtrace, relayfs, and splice

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Peter Teoh <htmldeveloper@...>
Cc: Pekka Enberg <penberg@...>, <zanussi@...>, <jens.axboe@...>, <linux-kernel@...>
Date: Saturday, October 25, 2008 - 10:04 am

On Sat, Oct 25, 2008 at 08:56:07AM +0800, Peter Teoh wrote:

Hi,

Yes, that repo may be outdated, please use Pekka's for the latest
working stuff.


Yes, I maintain this one and it's up-to-date.


You can use "git-log -p" to get diffs along with commit history.


If you enable kmemtrace at boot-time using the "kmemtrace.enabled=yes"
parameter, kmemtrace will start logging just after kmem_cache_init()
finishes. There are plans for making tracing possible even earlier,
however it involves quite a big rework of how relay allocates its
buffers.


The userspace app writes out those messages when it looks like a memory
region has been allocated twice. In reality, it's most likely a free
hasn't been traced (because a misc free function isn't traced).


I have made provisions for exporting the whole stack trace, however it
is not yet implemented.


Relay uses fixed size buffers, so there is no point in clearing them.


Much of the booting sequence is done on a single CPU, then the kernel
switches to SMP. It is natural to see one CPU log more allocations.


Thanks for testing.


	Cheers,
	Eduard

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PROBLEM] hard-lock with kmemtrace, relayfs, and splice, Pekka Enberg, (Fri Oct 10, 5:42 am)
Re: [PROBLEM] hard-lock with kmemtrace, relayfs, and splice, Eduard - Gabriel Munteanu..., (Sat Oct 25, 10:04 am)
Re: [PROBLEM] hard-lock with kmemtrace, relayfs, and splice, Eduard - Gabriel Munteanu..., (Tue Oct 14, 3:30 am)
Re: [PROBLEM] hard-lock with kmemtrace, relayfs, and splice, Eduard - Gabriel Munteanu..., (Sat Oct 11, 2:17 pm)
Re: [PROBLEM] hard-lock with kmemtrace, relayfs, and splice, Eduard - Gabriel Munteanu..., (Fri Oct 10, 7:51 am)