From: richardj_moore@uk.ibm.com
To: Andrea Arcangeli <andrea@suse.de>
Cc: Josue.Amaro@oracle.com, linux-kernel@vger.kernel.org
Subject: Re: [ANNOUNCE] Generalised Kernel Hooks Interface (GKHI)
Date: Wed, 15 Nov 2000 15:22:56 +0000 [thread overview]
Message-ID: <80256998.005AB377.00@d06mta06.portsmouth.uk.ibm.com> (raw)
Andrea,
I am very greatful for your detailed analysis. I have yet to digest
everything you commented but will get back to you on all points you raise
very soon. Here are my thoughts so far:
> I think gkhi should be renamed to something like "Fast Unregistered
Kernel
> Hook Interface" to avoid confusion and wrong usage of it that would
otherwise
> leads to lower performance.
A fair point.
On point 3):
> 3)
>
> gkhi apparently doesn't yet know the word "SMP" 8).
When I announced GKHI I did state that SMP support was to follow. The
updates are trivial but I didn't wan't to release the code until I had had
a chance to test it.
On point 4)
> 4)
>
> gkh_iflush should be done with flush_icache_range that is infact
implemented
> wrong for IA32 and it should be implemented as regs trashing cpuid (the
fact
> it's wrongly implemented means that in theory modules can break in IA32
> on 2.4.x 2.2.x even on UP).
Are you claiming that flush_icache_range has an error and should implement
the IA32 instruction flush as I did using CPUID? If this is the case has
this error been officially reported?
On point 5)
5)
> Current dprobes v1.1.1 against 2.2.16 cames with a syscall collision:
> sys_dprobes collides with ugetrlimit (not implemented in 2.2.x). That's
fine
> for internal use and to show the code, but make _sure_ not to ship any
binary
> to anybody implementing ugetrlimit as sys_dprobes 8).
>
> Richard please ask Linus to reserve a syscall for dprobes. I recommend to
> allocate the syscall out of the way (I mean using syscall 255 or even
better
> enlarging the syscall table from 256 to 512 and using number 511) so we
make
> sure not to waste precious dcachelines for debugging stuff.
Thanks for this information. Reserving a syscall will become irrelvant when
we release Dprobes as a module using gkhi since we will use ioctl() as the
application interface.
> BTW, for things like lkcd there's no reason to use gkhi to make it
completly
> modular since lkcd gets recalled in a completly slow path.
Well, not necessarily so while lkcd is not get accepted into the standard
kernel source. But also, even when lkcd becomes accepted, using gkhi with
lkcd will allow a crash dump capability to be actived dynamically. That
gives the user more fexibility. Even enterprise customers can sometimes
hedge their bets when it comes to RAS-like features.
Richard Moore - RAS Project Lead - Linux Technology Centre (PISC).
http://oss.software.ibm.com/developerworks/opensource/linux
Office: (+44) (0)1962-817072, Mobile: (+44) (0)7768-298183
IBM UK Ltd, MP135 Galileo Centre, Hursley Park, Winchester, SO21 2JN, UK
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next reply other threads:[~2000-11-15 17:02 UTC|newest]
Thread overview: 72+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-15 15:22 richardj_moore [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-11-15 15:24 richardj_moore
2000-11-15 18:20 ` Matt D. Robinson
2000-11-14 1:34 richardj_moore
2000-11-13 5:52 richardj_moore
2000-11-12 23:27 richardj_moore
2000-11-13 10:38 ` Andi Kleen
2000-11-14 3:17 ` Andrea Arcangeli
2000-11-10 19:31 richardj_moore
2000-11-10 18:42 richardj_moore
2000-11-10 16:08 richardj_moore
2000-11-10 11:41 richardj_moore
2000-11-10 16:24 ` Theodore Y. Ts'o
2000-11-10 16:37 ` Christoph Rohland
2000-11-10 18:36 ` Matt D. Robinson
2000-11-11 0:12 ` Theodore Y. Ts'o
2000-11-11 3:29 ` Matt D. Robinson
2000-11-11 4:57 ` Keith Owens
2000-11-11 17:58 ` tytso
2000-11-13 10:30 ` Daniel Phillips
2000-11-11 21:48 ` Lars Marowsky-Bree
2000-11-11 22:12 ` Michael Rothwell
2000-11-10 16:54 ` Andi Kleen
2000-11-10 11:17 richardj_moore
2000-11-10 10:57 richardj_moore
2000-11-10 10:57 richardj_moore
2000-11-10 10:57 richardj_moore
2000-11-10 13:45 ` Alexander Viro
2000-11-10 13:51 ` Michael Rothwell
2000-11-10 14:00 ` Alexander Viro
2000-11-10 14:37 ` David Lang
2000-11-09 14:02 Jesse Pollard
2000-11-09 7:43 richardj_moore
2000-11-09 11:24 ` Christoph Rohland
2000-11-09 12:25 ` Michael Rothwell
2000-11-09 12:30 ` Lars Marowsky-Bree
2000-11-09 12:46 ` Michael Rothwell
2000-11-09 13:35 ` Alan Cox
2000-11-09 13:43 ` Michael Rothwell
2000-11-09 14:23 ` Theodore Y. Ts'o
2000-11-09 12:50 ` Paul Jakma
2000-11-09 12:53 ` Michael Rothwell
2000-11-09 13:39 ` Paul Jakma
2000-11-09 14:06 ` Marco Colombo
2000-11-09 14:14 ` Theodore Y. Ts'o
2000-11-09 14:26 ` Alan Cox
2000-11-09 14:37 ` Jeff Garzik
2000-11-09 20:24 ` Theodore Y. Ts'o
2000-11-09 13:31 ` Alan Cox
2000-11-08 20:31 richardj_moore
2000-11-08 21:35 ` Michael Rothwell
2000-11-09 7:44 ` Christoph Rohland
2000-11-09 7:53 ` Larry McVoy
2000-11-09 8:08 ` Andre Hedrick
2000-11-09 8:43 ` Christoph Rohland
2000-11-09 12:20 ` Michael Rothwell
2000-11-09 12:31 ` Lars Marowsky-Bree
2000-11-09 12:40 ` Alexander Viro
2000-11-09 13:02 ` Michael Rothwell
2000-11-09 13:30 ` Alexander Viro
2000-11-09 13:39 ` Michael Rothwell
2000-11-09 17:19 ` Mike Coleman
2000-11-09 17:27 ` Alexander Viro
2000-11-10 11:42 ` Martin Dalecki
2000-11-09 13:40 ` Marco Colombo
2000-11-10 8:44 ` Christoph Rohland
2000-11-09 12:50 ` Tigran Aivazian
2000-11-09 16:03 ` Ingo Molnar
2000-11-10 8:42 ` Christoph Rohland
2000-11-09 14:28 ` Theodore Y. Ts'o
2000-11-10 15:07 ` Matti Aarnio
2000-11-10 15:24 ` Michael Rothwell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=80256998.005AB377.00@d06mta06.portsmouth.uk.ibm.com \
--to=richardj_moore@uk.ibm.com \
--cc=Josue.Amaro@oracle.com \
--cc=andrea@suse.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®