From: Takashi Iwai Subject: performance difference between ioctl and read/write? Date: Mon, 11 Mar 2002 14:30:33 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Hi, the current alsa driver uses ioctl for read and write pcm data. while writing the 32 -> 64 bit ioctl wrapper, i found that there might be difference between ioctl and read/write wrt the performance on SMP. sys_ioctl() calls a global lock_kernel() during ioctl operation, while read and write don't. i'm not sure whether/how this affects. did anybody investigate this already? Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-devel