lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 30 Jun 2008 04:15:15 -0700
From:	David Brownell <david-b@...bell.net>
To:	Stefan Becker <Stefan.Becker@...ia.com>
Cc:	linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
	ext Alan Stern <stern@...land.harvard.edu>,
	ext Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: PATCH: 2.6.26-rc8: Fix IRQF_DISABLED for shared interrupts

On Monday 30 June 2008, Stefan Becker wrote:
> It seems IRQF_SHARED | IRQF_DISABLED has already been discussed several 
> times on LKML:

Given that, I'm surprised that nobody has added a warning that
prints when those two flags are both passed to request_irq().

The problems have been around for a long time, "tested" and known
to be broken.  They'll never go away without nag messages nudging
developers to fix the problems.


> Alan: should I try to implement his choice (f) insteadn, i.e. drop 
> IRQF_DISABLED from USB HCD interrupts and disable interrupts in 
> usb_hcd_irq() instead?

That's the best solution for USB, given that IRQF_DISABLED isn't
going to do what it claims to do.

- Dave


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ