From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932411AbdEKMOV (ORCPT ); Thu, 11 May 2017 08:14:21 -0400 Received: from mx2.suse.de ([195.135.220.15]:42360 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932330AbdEKMOU (ORCPT ); Thu, 11 May 2017 08:14:20 -0400 Date: Thu, 11 May 2017 14:14:17 +0200 Message-ID: From: Takashi Iwai To: Takashi Sakamoto Cc: Christoph Hellwig , linux-kernel@vger.kernel.org, Linus Torvalds , alsa-devel@alsa-project.org Subject: Re: future of sounds/oss In-Reply-To: <4da9ce4b-b2dc-800c-ede2-f6c05b286dbe@sakamocchi.jp> References: <20170511082133.GA20304@lst.de> <7f6490a7-b39f-1294-8c5f-14d6161d28c6@sakamocchi.jp> <4da9ce4b-b2dc-800c-ede2-f6c05b286dbe@sakamocchi.jp> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.2 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 11 May 2017 12:36:47 +0200, Takashi Sakamoto wrote: > > Oops. I misunderstand to have discussion about stuffs in > 'sound/core/oss/*', because the compatibility layer also includes > abuses of set_fs() and I'm interested in it today... Yes, the stuff in sound/core/oss required an intensive surgery to get rid of set_fs(). But this resulted in a good cleanup of the duplicated copy/silence callbacks in the end. > For stuffs in 'sound/oss', we should certainly have care of points > which Iwai-san mentioned. If we get rid of it, we can also apply diet > to 'soundcore' module which gives 'sound' class but include some > helper functions just for Open Sound System drivers. Right, that's low-hanging fruits we can take once after confirming the removal of OSS drivers. The soundcore module can be removed and integrated into the ALSA OSS emulation stuff, for example. thanks, Takashi