On Wednesday 14 November 2007 06:22, David Brownell wrote:Even when you're talking about the -rt tree, I suspect you really shouldn't be using raw spinlocks, right? I mean, if you have a timing critical operation, then you should ensure you have priorities set correctly so that you simply don't get preempted. By using a raw_spinlock_t, you're saying that you're more important than anyone else (for the period of the critical section) including processes which the user has explicitly set to a higher priority. If you get preempted, then you should be happy, because <standard RTOS nuclear power plant scenario> didn't occur. This sort of raw_spinlock_t arms race throughout drivers/ would be a huge reason not to move it into mainline. -
| Jeremy Fitzhardinge | Re: [RFC 00/15] x86_64: Optimize percpu accesses |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
| Mike Galbraith | Re: regression: CD burning (k3b) went broke |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Linus Torvalds | Re: [GIT]: Networking |
| Michael Grollman | Re: 8169 Intermittent ifup Failure Issue With RTL8102E Chipset in Intel's New D945... |
