All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [alsa-devel] [RFC] revoke(2) and generic handling of things like remove_proc_entry()
@ 2013-04-08 13:16 Clemens Ladisch
  0 siblings, 0 replies; only message in thread
From: Clemens Ladisch @ 2013-04-08 13:16 UTC (permalink / raw)
  To: Al Viro
  Cc: linux-kernel, Linus Torvalds, Greg Kroah-Hartman, Rik van Riel,
	Andrew Morton, Alexey Dobriyan, Takashi Iwai, linux-fsdevel,
	alsa-devel

Al Viro wrote:
> BTW, snd_card_disconnect() doesn't do anything to existing mappings; smells
> like a bug, and there we do have ones with non-trivial ->mmap().  Could
> ALSA folks comment?

I don't know of any hotplug sound driver that maps memory from a device.
All hotplug buses (PCIe, USB, FireWire) involve DMAing from/to main
memory.

When a sound device is unplugged, sample transfers just stop, but the
buffer itself stays as long as the device node is kept opened.  (In the
case of a capture device, that actually makes sense.)


Regards,
Clemens

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-04-08 13:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-08 13:16 [alsa-devel] [RFC] revoke(2) and generic handling of things like remove_proc_entry() Clemens Ladisch

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.