iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* atomic context for iommu_map call
@ 2012-06-22 11:28 Alexandra N. Kossovsky
       [not found] ` <20120622112812.GV8140-mK/T7fl7eHLILq5++fvS8w@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Alexandra N. Kossovsky @ 2012-06-22 11:28 UTC (permalink / raw)
  To: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA; +Cc: Robert Stonehouse

Hello.

It is not clear from the documentation if iommu_map()/iommu_unmap()
functions may be called from atomic context.
In case of Intel IOMMU, it works; in case of AMD IOMMU, it does not.

Was it done by purpose?  May I propose a patch for AMD IOMMU replacing
GFP_KERNEL by GFP_ATOMIC to make things better?

We use IOMMU API in OpenOnload project http://www.openonload.org/,
and we get better latency with Intel IOMMU because we are not
forced to use threaded IRQ.

-- 
Alexandra N. Kossovsky
OKTET Labs (http://www.oktetlabs.ru/)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-07-09  9:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-22 11:28 atomic context for iommu_map call Alexandra N. Kossovsky
     [not found] ` <20120622112812.GV8140-mK/T7fl7eHLILq5++fvS8w@public.gmane.org>
2012-06-25 18:35   ` Chris Wright
2012-06-26  8:58   ` Joerg Roedel
     [not found]     ` <20120626085853.GX2624-5C7GfCeVMHo@public.gmane.org>
2012-06-26  9:08       ` Alexandra N. Kossovsky
2012-06-26 18:07       ` Chris Wright
     [not found]         ` <20120626180743.GV15796-JyIX8gxvWYPr2PDY2+4mTGD2FQJk+8+b@public.gmane.org>
2012-07-09  9:42           ` Joerg Roedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).