Re: net/socket.c:net_family[] handling question

From: kuznet@ms2.inr.ac.ru
Date: Sat Jul 15 2000 - 13:09:33 EDT

  • Next message: Miquel van Smoorenburg: "Re: devfs question"

    Hello!

    > (sock_register/unregister()) and readers - sock_create(). Is there a
    > reason why one can't just use read/write spinlocks for this?

    sock_create() sleeps.

    When this part was written, rw semaphores still did not exist.
    It could be replaced with rw semaphore.

    Alexey

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 15:46:06 EDT