Re: /dev/nvram driver

Jeff Garzik (jgarzik@mandrakesoft.com)
Fri, 22 Jun 2001 15:02:04 -0400


Tim Hockin wrote:
> Who is maintaining the /dev/nvram driver? I have a couple things I want to
> suggest/ask.

I haven't seen any patches for ages to nvram, so I presume nobody.

> What I really want to know is: should I bother making nvram_open_cnt SMP
> safe, or should it just go away all together. I vote for the latter
> option, unless something depends on this behavior (in which case, other
> fixes are needed, because it is broken :).

Once you figure out what the best behavior is (which I'm not sure of,
myself), I would suggest using a semaphore in the open and release
methods.

Jeff

-- 
Jeff Garzik      | Andre the Giant has a posse.
Building 1024    |
MandrakeSoft     |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/