On Wed, 14 May 2008, Jonathan Corbet wrote:I don't think there are *that* many. I found only 83 instances of "register_chrdev()" in the kernel, so the open methods should be pretty limited. Of course, some open methods call other sub-registrations, but you'd start off by moving the lock_kernel() down just *one* stage. So it literally should be: - remove one lock_kernel/unlock_kernel pair in fs/char_dev.c - add max 83 pairs in the places that register those things - external modules will need to add it themselves some day. I really don't think it's worth the pain. See above. The numbers aren't that huge, and external modules simply aren't a pressing enough issue. Linus --
| Eric W. Biederman | [PATCH] saa7134-tvaudio: Convert to kthread API. |
| Nigel Cunningham | Re: [Suspend2-devel] Re: CFS and suspend2: hang in atomic copy |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Eric Paris | [RFC 0/5] [TALPA] Intro to a linux interface for on access scanning |
git: | |
| Carl Worth | Re: several quick questions |
| Junio C Hamano | Re: [DRAFT] Branching and merging with git |
| Andrew Morton | Untracked working tree files |
| Petko Manolov | git and binary files |
| Richard Stallman | Real men don't attack straw men |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| askthelist | Packets Per Second Limit? |
| Patrick Hemmen | ipsec with carp |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Jiri Bohac | PATCH: fix bridged 802.3ad bonding |
| Lennert Buytenhek | [PATCH 08/39] mv643xx_eth: nuke port status register bit defines |
