public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: Junfeng Yang <yjf@stanford.edu>
Cc: linux-kernel@vger.kernel.org, mc@cs.stanford.edu
Subject: Re: [CHECKER] 4 warnings in kernel/module.c
Date: Fri, 23 Mar 2001 22:05:28 +1100	[thread overview]
Message-ID: <18150.985345528@ocs3.ocs-net> (raw)
In-Reply-To: Your message of "Fri, 23 Mar 2001 02:41:40 -0800." <Pine.GSO.4.31.0103230236500.3192-100000@epic8.Stanford.EDU>

On Fri, 23 Mar 2001 02:41:40 -0800 (PST), 
Junfeng Yang <yjf@stanford.edu> wrote:
>Hi, we modified the block checker and run it again on linux 2.4.1. (The
>block checker flags an error when blocking functions are called with
>either interrupts disabled or a spin lock held. )
>
>It gave us 4 warnings in kernel/module.c. Because we are unaware of the
>contexts where these functions are called, we are not sure if these 4
>warnings are real errors or false positives. Please help us to verify them
>or show that they are false positives.

All false positives.  The big kernel lock is a special case, you are
allowed to sleep while holding that lock.  See release_kernel_lock()
and reacquire_kernel_lock() in sched().


  parent reply	other threads:[~2001-03-23 11:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-23 10:41 [CHECKER] 4 warnings in kernel/module.c Junfeng Yang
2001-03-23 11:03 ` Alan Cox
2001-03-23 19:49   ` Junfeng Yang
2001-03-23 11:05 ` Keith Owens [this message]
2001-03-23 19:56   ` Junfeng Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18150.985345528@ocs3.ocs-net \
    --to=kaos@ocs.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mc@cs.stanford.edu \
    --cc=yjf@stanford.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox