From: Pete Zaitcev <zaitcev@redhat.com>
To: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Pete Zaitcev <zaitcev@redhat.com>, linux-kernel@vger.kernel.org
Subject: Re: sys_lookup_dcookie on s390
Date: Tue, 3 Jun 2003 12:31:24 -0400 [thread overview]
Message-ID: <20030603123124.A10799@devserv.devel.redhat.com> (raw)
In-Reply-To: <OFB6EC5BCF.26B6C560-ONC1256D3A.0030FEB2@de.ibm.com>; from schwidefsky@de.ibm.com on Tue, Jun 03, 2003 at 11:22:32AM +0200
> From: "Martin Schwidefsky" <schwidefsky@de.ibm.com>
> Date: Tue, 3 Jun 2003 11:22:32 +0200
> > Are you going to assign a number for lookup_dcookie? If yes, when?
>
> You can use 110 for lookup_dcookie (reusing i386 specific iopl number that
> have always been unused for s390). Never came around porting the oprofile
> stuff to s390. Do you plan to do it ?
I am going to use it with timer profiling at first.
It is essentially zero effort port, just add the syscall
and config.in entry.
Still, do you have a suggestion for any other interrupt?
For instance, on i386 it can use NMI. It is my understanding
(perhaps incorrect), that using other interrupt can
a) increase precision, if HZ is low, but other interrupt can
fire more often, b) reduce overhead. Also, sometimes you can
do tricks, if hardware allows it. On sparc, for instance,
you can redefine __local_cli() in such a way that all interrupts
would be closed except the profiling interrupt. Then, the
profiler gathers data about people sitting on spinlocks, etc.
This is what I am looking for, but I'm not sufficiently versed
in the architecture for decide if we have a suitable interrupt
source.
-- Pete
next prev parent reply other threads:[~2003-06-03 16:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-03 9:22 sys_lookup_dcookie on s390 Martin Schwidefsky
2003-06-03 16:31 ` Pete Zaitcev [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-06-02 19:50 Pete Zaitcev
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=20030603123124.A10799@devserv.devel.redhat.com \
--to=zaitcev@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=schwidefsky@de.ibm.com \
/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