On Fri, 16 May 2008, Linus Torvalds wrote:To clarify: lock_super() is actually a much *stronger* lock than lock_kernel(), which is why testing is actually interesting: the locking hasn't been weakened, it's actually become much stricter (because unlike the kernel lock, the superblock lock is kept over scheduling events, and doesn't silently nest). So the most likely failure case is not that some locking went away and you'd race on the data structures, it's that something deadlocks on itself if the locking isn't right. There could be some implicit kernel lock I missed (ie something that acts like the "ioctl" callback I already mentioned), of course, so I'm not going to swear myself blue in the face that there isn't a new race, but on the whole this patch should be pretty safe from the angle that at least the obvious locking bugs should cause deadlocks, not race conditions. And if you enable lockdep, the deadlocks aren't silent deaths, but clear "this is where you took it, and here is where you deadlocked due to nesting" reports in dmesg. So this should be eminently debuggable even by almost total newbies that are just interested in BKL removal. Linus --
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Kamalesh Babulal | [BUG] Linux 2.6.25-rc2 - Kernel Ooops while running dbench |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Paul Jackson | Re: cpuset-remove-sched-domain-hooks-from-cpusets |
git: | |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Steven Rostedt | Re: -rt scheduling: wakeup bug? |
| David Miller | Re: [GIT]: Networking |
