Regarding spin_lock_bh
Ajith Adapa <[email protected]>
| Newsgroups | org.kernel.vger.linux-newbie |
|---|---|
| Message-ID | <CADAe=+Ku9kOdBYY7WQin16AdrS3WvKq17g6U0Kkk6+8SSu29iw@mail.gmail.com> |
Hi, I am trying to learn Bottom halves and I have a doubt regarding usage of spin_lock_bh. what exactly is the need for it can't we use spin_lock ?? For E.G. in net/bridge/br_ioctl.c we use spin_lock_bh to do operations like get and set. Can't we use spin_lock in this case ? Regards, Ajith -- To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs