Messages in this thread |  | | Date | Thu, 16 Nov 2000 13:14:10 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: [PATCH (2.4)] atomic use count for proc_dir_entry |
| |
On Thu, 16 Nov 2000, Dan Aloni wrote: > > Makes procfs use an atomic use count for dir entries, to avoid using > the Big kernel lock. Axboe says it looks ok.
There's a race there. Look at what happens if de_put() races with remove_proc_entry(): we'd do free_proc_entry() twice. Not good.
Leave the kernel lock for now.
Linus
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |