lkml.org 
[lkml]   [2010]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 14/18] misdn: kill big kernel lock
    Date
    The use of the big kernel lock in misdn is completely
    bogus, so let's just remove it.

    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    Cc: Karsten Keil <isdn@linux-pingi.de>
    Cc: netdev@vger.kernel.org
    ---
    drivers/isdn/mISDN/stack.c | 7 -------
    1 files changed, 0 insertions(+), 7 deletions(-)

    diff --git a/drivers/isdn/mISDN/stack.c b/drivers/isdn/mISDN/stack.c
    index b159bd5..a5b632e 100644
    --- a/drivers/isdn/mISDN/stack.c
    +++ b/drivers/isdn/mISDN/stack.c
    @@ -18,7 +18,6 @@
    #include <linux/slab.h>
    #include <linux/mISDNif.h>
    #include <linux/kthread.h>
    -#include <linux/smp_lock.h>
    #include "core.h"

    static u_int *debug;
    @@ -205,13 +204,7 @@ mISDNStackd(void *data)
    struct mISDNstack *st = data;
    int err = 0;

    -#ifdef CONFIG_SMP
    - lock_kernel();
    -#endif
    sigfillset(&current->blocked);
    -#ifdef CONFIG_SMP
    - unlock_kernel();
    -#endif
    if (*debug & DEBUG_MSG_THREAD)
    printk(KERN_DEBUG "mISDNStackd %s started\n",
    dev_name(&st->dev->dev));
    --
    1.7.1


    \
     
     \ /
      Last update: 2010-09-14 21:59    [W:0.040 / U:0.884 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site