public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm•com>
To: Heiko Carstens <heiko.carstens@de•ibm.com>
Cc: Kamalesh Babulal <kamalesh@linux•vnet.ibm.com>,
	Stephen Rothwell <sfr@canb•auug.org.au>,
	linux-next@vger•kernel.org, LKML <linux-kernel@vger•kernel.org>,
	linux-s390@vger•kernel.org, schwidefsky@de•ibm.com,
	penberg@cs•helsinki.fi
Subject: Re: [BUILD_FAILURE] next-20090115 - s390x - mm/kmemleak.c
Date: Thu, 15 Jan 2009 17:00:38 +0000	[thread overview]
Message-ID: <1232038838.32016.73.camel@pc1117.cambridge.arm.com> (raw)
In-Reply-To: <20090115120526.GD5093@osiris.boeblingen.de.ibm.com>

On Thu, 2009-01-15 at 13:05 +0100, Heiko Carstens wrote:
> Btw. you have
> 
> /*
>  * Stop the automatic memory scanning thread. This function must be called
>  * with the kmemleak_mutex held.
>  */
> void stop_scan_thread(void)
> {
> ...
> 
> but call the function unlocked from kmemleak_write. Looks like a bug ;)

kmemleak_write() is called with the kmemleak_mutex acquired in the
kmemleak_open() function (and released in kmemleak_release()).

-- 
Catalin

  reply	other threads:[~2009-01-15 17:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-15  6:04 linux-next: Tree for January 15 Stephen Rothwell
2009-01-15 10:35 ` [BUILD_FAILURE] next-20090115 - s390x - mm/kmemleak.c Kamalesh Babulal
2009-01-15 11:20   ` Heiko Carstens
2009-01-15 11:55     ` Catalin Marinas
2009-01-15 12:05       ` Heiko Carstens
2009-01-15 17:00         ` Catalin Marinas [this message]
2009-01-15 12:08       ` Pekka Enberg
2009-01-15 12:13         ` Heiko Carstens
2009-01-15 12:16           ` Catalin Marinas
2009-01-15 12:13         ` Catalin Marinas
2009-01-15 18:18 ` linux-next: Tree for January 15 (afs/fscache) Randy Dunlap
2009-01-16  1:52   ` Stephen Rothwell

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=1232038838.32016.73.camel@pc1117.cambridge.arm.com \
    --to=catalin.marinas@arm$(echo .)com \
    --cc=heiko.carstens@de$(echo .)ibm.com \
    --cc=kamalesh@linux$(echo .)vnet.ibm.com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=linux-s390@vger$(echo .)kernel.org \
    --cc=penberg@cs$(echo .)helsinki.fi \
    --cc=schwidefsky@de$(echo .)ibm.com \
    --cc=sfr@canb$(echo .)auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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