>From the log,  there is a bug surely: allock(GFP_KERNEL) is called with 
>spinlock holding, so
the warning is triggered:

struct cred *prepare_creds(void)
{
         ......
        new = kmem_cache_alloc(cred_jar, GFP_KERNEL);
        ......
}

and prepare_creds is called in this path with spin_lock holding:

     
do_prlimit
        ->task_lock(tsk->group_leader);
                ->spin_lock(&p->alloc_lock);
        ...
        ->apparmor_task_setrlimit
                ->aa_current_profile
                        ->aa_replace_current_profile
                                ->prepare_creds 
        ->task_unlock(tsk->group_leader);

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/791022

Title:
  cupsd lockdep warning

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/791022/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to