From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Keith Owens <kaos@ocs.com.au>,
Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: [patch 0/3] kallsyms: Add gate page and all symbols support
Date: Tue, 18 Jan 2005 18:52:55 +1100 [thread overview]
Message-ID: <1106034775.4499.86.camel@gaston> (raw)
In-Reply-To: <20041228211700.GA21591@mars.ravnborg.org>
On Tue, 2004-12-28 at 22:17 +0100, Sam Ravnborg wrote:
> > 2 Add in_gate_area_no_task() for use from places where no task is valid.
Can you back that out ? Or at least explain why you need to add this
"no_task" thing and not just use "current" where no task is available ?
I think the above is bogus for 3 reasons:
- I tend to dislike adding functions
"foo_with_that_parameter_instead_of_that" ... We do it here or there,
but the less we do it, the happier I am :)
- Since you unconditionally #define in_gate_area() to use
in_gate_area_no_task(), what is the point of having in_gate_area() at
all ? Which rather means, what is the point of adding that "_no_task"
version and not just change in_gate_area to not take a task ?
- I dislike the fact that you now define the prototype of the function
in the __HAVE_ARCH_GATE_AREA case. I want my arch .h to be the one doing
so, since i want to inline it (to nothing in the ppc64 case since the
vDSO I'm implementing doesn't need any special treatement of the gate
area, it's a normal VMA added to the mm's at exec time).
Ben.
next prev parent reply other threads:[~2005-01-18 7:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-28 3:38 [patch 0/3] kallsyms: Add gate page and all symbols support Keith Owens
2004-11-28 3:54 ` [patch 1/3] kallsyms: Clean up x86-64 special casing of in_gate_area() Keith Owens
2004-11-28 3:55 ` [patch 2/3] kallsyms: Add in_gate_area_no_task() Keith Owens
2004-11-28 3:55 ` [patch 3/3] kallsyms: gate page is part of the kernel, honour CONFIG_KALLSYMS_ALL Keith Owens
2004-12-28 21:17 ` [patch 0/3] kallsyms: Add gate page and all symbols support Sam Ravnborg
2005-01-18 7:52 ` Benjamin Herrenschmidt [this message]
2005-01-18 13:07 ` Keith Owens
2005-01-18 22:03 ` Benjamin Herrenschmidt
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=1106034775.4499.86.camel@gaston \
--to=benh@kernel.crashing.org \
--cc=kaos@ocs.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.