Re: [PATCH 1/7] omap: iommu: migrate to the generic IOMMU API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 23, 2011 at 5:59 PM, Ohad Ben-Cohen <ohad@xxxxxxxxxx> wrote:
> On Tue, Aug 23, 2011 at 5:07 PM, Roedel, Joerg <Joerg.Roedel@xxxxxxx> wrote:
>> Can this be easily converted to a spin_lock?
>
> Sure, thanks for reviewing.

Taking a second look, I don't think it's necessary - the mutex isn't
used to protect the page table. The page table is protected by a spin
lock, so map/unmap operations can be called from an atomic context.

The mutex is only part of the attach/deattach operations, which are
already used today in process context, so I guess it's safe.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux