Re: [PATCH v2] x86: Add a list for custom page fault handlers.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arjan van de Ven
Date: Thursday, January 31, 2008 - 9:15 am

On Thu, 31 Jan 2008 18:02:53 +0200
Pekka Paalanen <pq@iki.fi> wrote:


it's overhead that's rarely used, and worse, it suffers from the LSM disease:
it's a hook without visibility into the callers. Esp if there's only 1 user, a direct call
is not only faster, it also shows you what is going on when you're reading the code.
THe page fault stuff is tricky enough as it is without any "call arbitrary thing" hooks into
it


that's not per se mutually exclusive, there's other cases like this already
(but even then, I don't want to go through hoops to make mmiotracing a module;
for me I can totally see it becoming a full mature member of the kernel, and if
that means a few things have to be changed in the normal kernel, or infrastructure
added, I'm totally ok with that)


this is exactly the point.. it becomes a totally opaque thing, a random hook.


-- 
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] x86: Add a list for custom page fault handlers., Pekka Paalanen, (Sun Jan 27, 9:52 am)
[RFC PATCH] x86: mmiotrace - trace memory mapped IO, Pekka Paalanen, (Sun Jan 27, 10:55 am)
Re: [PATCH] x86: Add a list for custom page fault handlers., Harvey Harrison, (Tue Jan 29, 7:28 pm)
Re: [PATCH] x86: Add a list for custom page fault handlers., Harvey Harrison, (Tue Jan 29, 7:34 pm)
Re: [PATCH] x86: Add a list for custom page fault handlers., Pekka Paalanen, (Wed Jan 30, 11:08 am)
Re: [PATCH] x86: Add a list for custom page fault handlers., Arjan van de Ven, (Wed Jan 30, 11:20 am)
Re: [RFC PATCH] x86: mmiotrace - trace memory mapped IO, Pekka Paalanen, (Wed Jan 30, 3:39 pm)
[PATCH v2] x86: Add a list for custom page fault handlers., Pekka Paalanen, (Thu Jan 31, 9:02 am)
Re: [PATCH v2] x86: Add a list for custom page fault handlers., Arjan van de Ven, (Thu Jan 31, 9:15 am)
[RFC PATCH v2] x86: mmiotrace - trace memory mapped IO, Pekka Paalanen, (Thu Jan 31, 9:16 am)
Re: [RFC PATCH v2] x86: mmiotrace - trace memory mapped IO, Arjan van de Ven, (Thu Jan 31, 9:29 am)
Re: [RFC PATCH v2] x86: mmiotrace - trace memory mapped IO, Pekka Paalanen, (Sun Feb 3, 12:21 am)
[PATCH 1/4] x86 mmiotrace: use lookup_address(), Pekka Paalanen, (Tue Feb 5, 1:28 pm)
[PATCH 3/4] x86 mmiotrace: comment about user space ABI, Pekka Paalanen, (Tue Feb 5, 1:31 pm)
[PATCH 4/4] x86 mmiotrace: move files into arch/x86/mm/, Pekka Paalanen, (Tue Feb 5, 1:39 pm)
Re: [PATCH 1/4] x86 mmiotrace: use lookup_address(), Christoph Hellwig, (Tue Feb 5, 10:00 pm)
Re: [PATCH 1/4] x86 mmiotrace: use lookup_address(), Ingo Molnar, (Thu Feb 7, 5:52 am)
Re: [PATCH 4/4] x86 mmiotrace: move files into arch/x86/mm/, Christoph Hellwig, (Thu Feb 7, 5:56 am)
[PATCH] x86 mmiotrace: Use percpu instead of arrays., Pekka Paalanen, (Sat Feb 9, 10:53 am)