All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tamas Lengyel <tamas.lengyel@zentific.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Aravindh Puthiyaparambil <aravindp@cisco.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Issues regarding "mem_access: Add helper API to setup ring and enable mem_access"
Date: Mon, 30 Jun 2014 16:49:54 +0200	[thread overview]
Message-ID: <CAErYnshnYY8+NXpR3LidX41G+nC78Xadyhrb6_1UtyPioxG5mw@mail.gmail.com> (raw)
In-Reply-To: <1404132276.14488.41.camel@kazak.uk.xensource.com>


[-- Attachment #1.1: Type: text/plain, Size: 1482 bytes --]

On Mon, Jun 30, 2014 at 2:44 PM, Ian Campbell <Ian.Campbell@citrix.com>
wrote:

> On Mon, 2014-06-30 at 13:42 +0100, Ian Jackson wrote:
> > Tamas Lengyel writes ("Re: [Xen-devel] Issues regarding "mem_access: Add
> helper API to setup ring and enable mem_access""):
> > >
> > >     > Now with this function being reintroduced, it becomes more
> complicated
> > >     > to determine which version of the mem_access API does Xen
> actually
> > >     > provide. A #define indicating mem_access API version would nicely
> > >     > overcome this issue, or  naming xc_mem_event_enable something
> else.
> > >
> > >     Doesn't configure support checking for functions with a given
> prototype?
> > >
> > > It does but in a very hacky way, essentially trying to compile code
> where the
> > > function is being called with different prototypes. We can work around
> it but a
> > > clean solution would be preferred at some point.
> >
> > I agree with your criticism, TBH.  Aravindh/Ian, can we rename this
> > function ?
>
> I have no objection to some other name.
>

A question regarding renaming the xc_mem_event_enable function. The public
xenctrl.h clearly says

/**
 * mem_event operations. Internal use only.
 */

There are only three of these, xc_mem_event_control, xc_mem_event_memop and
xc_mem_event_enable. Wouldn't it make more sense to just exclude these
functions from the public header and move them to xc_private.h? Why have
internal functions in the public header?

Tamas

[-- Attachment #1.2: Type: text/html, Size: 2064 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  parent reply	other threads:[~2014-06-30 14:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-23 16:31 Issues regarding "mem_access: Add helper API to setup ring and enable mem_access" Tamas Lengyel
2014-06-27 15:20 ` Ian Campbell
2014-06-30 12:06   ` Tamas Lengyel
2014-06-30 12:42     ` Ian Jackson
2014-06-30 12:44       ` Ian Campbell
2014-06-30 13:07         ` Andrew Cooper
2014-06-30 13:09           ` Ian Campbell
2014-06-30 13:10             ` Andrew Cooper
2014-06-30 14:12               ` Jan Beulich
2014-06-30 14:19                 ` Andrew Cooper
2014-06-30 14:49         ` Tamas Lengyel [this message]
2014-06-30 22:14           ` Aravindh Puthiyaparambil (aravindp)
2014-06-30 22:31           ` Aravindh Puthiyaparambil (aravindp)
2014-07-02 11:54             ` Tamas Lengyel

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=CAErYnshnYY8+NXpR3LidX41G+nC78Xadyhrb6_1UtyPioxG5mw@mail.gmail.com \
    --to=tamas.lengyel@zentific.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=aravindp@cisco.com \
    --cc=xen-devel@lists.xen.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.