mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* driver/sound/soundcard.c lock_kernel()/unlock_kernel()
@ 2001-06-27  4:32 Frank Davis
  2001-06-27 11:23 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Frank Davis @ 2001-06-27  4:32 UTC (permalink / raw)
  To: linux-kernel

Hello all,
      I've been looking through the sound drivers in the 2.4.5-ac series
.  
drivers/sound/soundcard.c has a few lock_kernel()/unlock_kernel() calls,
esp. in the read() and write() functions. Could these calls be easily
replaced with semaphores or spinlock calls? I vaguely remember emails on
lkml a while ago regarding the removal of lock_kernel()/unlock_kernel(),
but I'm don't recall what the replacement was (if any).
Regards,
Frank

btw, Sorry in advance if the mailer causes probelms.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: driver/sound/soundcard.c lock_kernel()/unlock_kernel()
  2001-06-27  4:32 driver/sound/soundcard.c lock_kernel()/unlock_kernel() Frank Davis
@ 2001-06-27 11:23 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2001-06-27 11:23 UTC (permalink / raw)
  To: Frank Davis; +Cc: linux-kernel

> drivers/sound/soundcard.c has a few lock_kernel()/unlock_kernel() calls,
> esp. in the read() and write() functions. Could these calls be easily

This is intentional. FIxing up the old OSS drivers is not worth the pain

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-06-27 11:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-27  4:32 driver/sound/soundcard.c lock_kernel()/unlock_kernel() Frank Davis
2001-06-27 11:23 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®