All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Mason <chris.mason@oracle.com>
To: Li Zefan <lizf@cn.fujitsu.com>
Cc: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>,
	Juan Francisco Cantero Hurtado <iam@juanfra.info>
Subject: Re: [PATCH 2/2] Btrfs: Avoid accessing unmapped kernel address
Date: Wed, 16 Feb 2011 21:05:38 -0500	[thread overview]
Message-ID: <1297908324-sup-3306@think> (raw)
In-Reply-To: <4D5B6971.2040006@cn.fujitsu.com>

Excerpts from Li Zefan's message of 2011-02-16 01:06:41 -0500:
> When decompressing a chunk of data, we'll copy the data out to
> a working buffer if the data is stored in more than one page,
> otherwise we'll use the mapped page directly to avoid memory
> copy.
> 
> In the latter case, we'll end up accessing the kernel address
> after we've unmapped the page in a corner case.

Great, thanks I've got this running here now.

-chris

      reply	other threads:[~2011-02-17  2:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-16  6:06 [PATCH 2/2] Btrfs: Avoid accessing unmapped kernel address Li Zefan
2011-02-17  2:05 ` Chris Mason [this message]

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=1297908324-sup-3306@think \
    --to=chris.mason@oracle.com \
    --cc=iam@juanfra.info \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=lizf@cn.fujitsu.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.