All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sowmini Varadhan <sowmini.varadhan@oracle.com>
To: sparclinux@vger.kernel.org
Subject: Re: [PATCH RFC sparc] Break up iommu from monolithic lock for the map to multiple pools/locks
Date: Fri, 19 Dec 2014 20:44:54 +0000	[thread overview]
Message-ID: <20141219204454.GM4294@oracle.com> (raw)
In-Reply-To: <20141219151616.GB25248@oracle.com>

On (12/19/14 15:24), David Miller wrote:
> > 
> > sounds good, I'll do this and get back over the next week.
> > (Some things like the demap function pointer may need to be
> > generalized a bit, e.g., pass  the iommu_pool * to the callback for
> > other archs)
> 
> It might be cleaner to have a "const struct iommu_ops *" kind of thing
> in the base iommu structure.

Agreed. The powerpc iommu_table also has a large_pool that I did
not look too carefully into - used for allocating  npages > 15 , iirc.  
I dont know how commonly that happens. 

--Sowmini



  parent reply	other threads:[~2014-12-19 20:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-19 15:16 [PATCH RFC sparc] Break up iommu from monolithic lock for the map to multiple pools/locks Sowmini Varadhan
2014-12-19 17:26 ` David Miller
2014-12-19 17:29 ` Sowmini Varadhan
2014-12-19 18:31 ` Sowmini Varadhan
2014-12-19 19:57 ` David Miller
2014-12-19 20:06 ` Sowmini Varadhan
2014-12-19 20:24 ` David Miller
2014-12-19 20:44 ` Sowmini Varadhan [this message]
2014-12-19 20:56 ` David Miller
2014-12-19 22:06 ` Sowmini Varadhan

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=20141219204454.GM4294@oracle.com \
    --to=sowmini.varadhan@oracle.com \
    --cc=sparclinux@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 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.