All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
To: Takashi Iwai <tiwai@suse.de>, Christoph Hellwig <hch@lst.de>
Cc: linux-kernel@vger.kernel.org,
	Linus Torvalds <torvalds@linuxfoundation.org>,
	alsa-devel@alsa-project.org
Subject: Re: future of sounds/oss
Date: Thu, 11 May 2017 19:36:47 +0900	[thread overview]
Message-ID: <4da9ce4b-b2dc-800c-ede2-f6c05b286dbe@sakamocchi.jp> (raw)
In-Reply-To: <7f6490a7-b39f-1294-8c5f-14d6161d28c6@sakamocchi.jp>

On May 11 2017 19:01, Takashi Sakamoto wrote:
>> But the set_fs() usage in OSS code is hard to get rid of, due to the
>> in-kernel ioctl calls, and I really don't want to touch such dusty
>> codes, either.  So I wanted to post the very same question, but you
>> were faster :)
>>
>>> But looking at the OSS code it's pretty grotty, and also appears
>>> to be pretty much unmaintained except for global cleanups.  Is there
>>> any chance we could look into getting rid of it over the next few
>>> merge windows or are there people that rely on it?
>>
>> I don't think there are any active users.  The only slight concern is
>> that there are a few ancient devices that are supported only by some
>> OSS drivers.  But these are over decades, and very unlikely alive.
>>
>> That said, I'd love to drop that legacy stuff; or maybe as a
>> soft-landing, begin with disabling the build of sound/oss in Kconfig.
>>
>> The latter can be done even for 4.12, if Linus doesn't mind.
>
> I think we don't need to care of drivers implemented with Open Sound
> System. In my understanding, stuffs in 'sound/core/oss/*' give Open
> Sound System compatibility layer for Open Sound System applications. In
> short, it gives a way for the applications to use drivers in ALSA by
> Open Sound System interfaces. Even if this layer is missing, the
> applications are still available with Open Sound System Proxy Daemon[3]
> with FUSE/CURE assistances. I believe we can get rid of them without any
> actual disadvantages.

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...

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.


Regards

Takashi Sakamoto

  reply	other threads:[~2017-05-11 10:36 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-11  8:21 future of sounds/oss Christoph Hellwig
2017-05-11  8:46 ` [alsa-devel] " Takashi Iwai
2017-05-11  8:46   ` Takashi Iwai
2017-05-11  9:15   ` [alsa-devel] " Christoph Hellwig
2017-05-11  9:15     ` Christoph Hellwig
2017-05-11 20:21     ` [alsa-devel] " Takashi Iwai
2017-05-11 20:21       ` Takashi Iwai
2017-05-11 20:28       ` [alsa-devel] " Linus Torvalds
2017-05-11 20:28         ` Linus Torvalds
2017-05-11 20:36         ` Randy Dunlap
2017-05-11 20:36           ` Randy Dunlap
2017-05-11 20:40         ` Takashi Iwai
2017-05-11 20:40           ` Takashi Iwai
2017-05-12  7:03       ` [alsa-devel] " Geert Uytterhoeven
2017-05-12  7:10         ` Takashi Iwai
2017-05-12  7:17           ` Geert Uytterhoeven
2017-05-12  7:27             ` Takashi Iwai
2017-05-12  7:30               ` Geert Uytterhoeven
2017-05-12  8:01                 ` Takashi Iwai
2017-05-16  7:45                   ` Geert Uytterhoeven
2017-05-16  8:44                     ` Takashi Iwai
2017-05-12  8:28               ` John Paul Adrian Glaubitz
2017-05-11 10:01   ` Takashi Sakamoto
2017-05-11 10:36     ` Takashi Sakamoto [this message]
2017-05-11 12:14       ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4da9ce4b-b2dc-800c-ede2-f6c05b286dbe@sakamocchi.jp \
    --to=o-takashi@sakamocchi.jp \
    --cc=alsa-devel@alsa-project.org \
    --cc=hch@lst.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tiwai@suse.de \
    --cc=torvalds@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.