Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1572534

Re: [alsa-devel] [RFC] [ALSA][CONTROL] Added 2 ioctls for reading/writing values of multiple controls in one go (at once)

From Clemens Ladisch <clemens@ladisch.de>
Newsgroups linux.kernel
Subject Re: [alsa-devel] [RFC] [ALSA][CONTROL] Added 2 ioctls for reading/writing values of multiple controls in one go (at once)
Date 2017-02-02 18:30 +0100
Message-ID <t6tmO-6Wj-15@gated-at.bofh.it> (permalink)
References <t6g6d-6Dj-7@gated-at.bofh.it> <t6g6d-6Dj-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Satendra Singh Thakur wrote:
> -Added an ioctl to read values of multiple elements at once
> -Added an ioctl to write values of multiple elements at once
> -In the absence of above ioctls user needs to call N ioctls to
>  read/write value of N elements which requires N context switches

And why are these N context switches a problem?

> -Above mentioned ioctl will be useful for alsa utils such as amixer
>  which reads all controls of given sound card

Is there a noticeable difference?


Regards,
Clemens

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[RFC] [ALSA][CONTROL] Added 2 ioctls for reading/writing  values of  multiple  controls in one go (at once) Satendra Singh Thakur <satendra.t@samsung.com> - 2017-02-02 04:20 +0100
  Re: [RFC] [ALSA][CONTROL] Added 2 ioctls for reading/writing values  of multiple controls in one go (at once) Takashi Sakamoto <o-takashi@sakamocchi.jp> - 2017-02-02 05:00 +0100
    Re: [RFC] [ALSA][CONTROL] Added 2 ioctls for reading/writing values of multiple controls in one go (at once) Takashi Iwai <tiwai@suse.de> - 2017-02-03 08:30 +0100
  Re: [alsa-devel] [RFC] [ALSA][CONTROL] Added 2 ioctls for  reading/writing values of multiple controls in one go (at once) Clemens Ladisch <clemens@ladisch.de> - 2017-02-02 18:30 +0100

csiph-web