[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.1.10.0809231154420.3265@nehalem.linux-foundation.org>
Date: Tue, 23 Sep 2008 11:56:55 -0700 (PDT)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Christoph Lameter <cl@...ux-foundation.org>
cc: Mathieu Desnoyers <compudj@...stal.dyndns.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Tom Zanussi <zanussi@...cast.net>, prasad@...ux.vnet.ibm.com,
Martin Bligh <mbligh@...gle.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Steven Rostedt <rostedt@...dmis.org>, od@...ell.com,
"Frank Ch. Eigler" <fche@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>, hch@....de,
David Wilder <dwilder@...ibm.com>, linux-mm@...ck.org
Subject: Re: Unified tracing buffer
On Tue, 23 Sep 2008, Christoph Lameter wrote:
> Mathieu Desnoyers wrote:
> >
> > I think we should instead try to figure out what is currently missing in
> > the kernel vmap mechanism (probably the ability to vmap from large 4MB
> > pages after boot), and fix _that_ instead (if possible), which would not
> > only benefit to tracing, but also to module support.
No. Don't go there. Piece of absolute shit.
The problem with VMAP is that it's _limited_. We don't have reasonable
virtual address space holes for x86-32.
The other is that physically contiguos buffers are hard to come by.
Certainly not an acceptable solution.
The third is that if you have multiple buffers, you need to look them up
in software anyway, so the whole notion of mis-using the TLB to avoid a
software lookup is TOTAL CRAP.
Don't do virtual mapping. IT IS BROKEN. IT IS A TOTAL AND UTTER PIECE OF
SHIT.
I will absolutely not take any general-purpse tracing code if I'm aware of
it mis-using the TLB to play games.
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists